Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Keep composer updated on boxes #69

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Change Log

## UNRELEASED

### Added

* Added a trigger to the default Vagrantfile that keeps the installed version of Composer up to date (#68)

### Updating to this version

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 #69](https://github.com/palantirnet/the-vagrant/pull/69/files).

## 2.5.0 - November 18, 2019

### Changed
Expand Down
7 changes: 7 additions & 0 deletions conf/vagrant/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,11 @@ Vagrant.configure(2) do |config|
}
end

config.trigger.after [:up, :reload] do |trigger|
trigger.name = "Composer self-update"
trigger.run_remote = {
inline: "sudo -H composer self-update"
}
end

end