diff --git a/CHANGELOG.md b/CHANGELOG.md index 9994d78..e513fc4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,14 +2,20 @@ ## UNRELEASED +### Added + +* Added a trigger to the default Vagrantfile that keeps the installed version of Composer up to date (#68) + ### Changed * Removed the custom drush wrapper in ~/bin. Drush 9 handles this itself. +* Removed the `vagrant up` trigger that ran `composer install` on the project ### Updating from 2.5 * This update does **not** require destroying your current vagrant box. -* As a developer, you may want to: +* This version includes changes to the `Vagrantfile` template. To get these changes, either re-run the-vagrant's installer with `vendor/bin/the-vagrant-installer`, OR manually apply the changes from the [diff from #70](https://github.com/palantirnet/the-vagrant/pull/70/files). +* As a developer, you may also want to: 1. From your Vagrant box, `rm ~/bin/drush` 2. Log out of your vagrant and then back in before continuing to work diff --git a/conf/vagrant/Vagrantfile b/conf/vagrant/Vagrantfile index 1c403e1..0e5daf9 100644 --- a/conf/vagrant/Vagrantfile +++ b/conf/vagrant/Vagrantfile @@ -79,10 +79,10 @@ Vagrant.configure(2) do |config| end end - config.trigger.before [:up, :reload] do |trigger| - trigger.name = "Composer Install" - trigger.run = { - inline: "composer install --ignore-platform-reqs" + config.trigger.after [:up, :reload] do |trigger| + trigger.name = "Composer self-update" + trigger.run_remote = { + inline: "sudo -H composer self-update" } end