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

Commit

Permalink
Merge pull request #1 from hardyoyo/DS-1845-add-shell-provisioner
Browse files Browse the repository at this point in the history
[DS-1845] added an inline shell provisioner, to install apt-spy2 et. al.
  • Loading branch information
Hardy Pottinger committed Dec 18, 2013
2 parents 34c8377 + 7bc2adb commit ad64ef5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,15 @@ Vagrant.configure("2") do |config|
config.vm.define :dspace do |t|
end

# simple shell provisioning block for specifying the packages we'd like to be installed in this base machine
config.vm.provision "shell", inline: "echo provisioning base package set to make this machine useable with Vagrant-DSpace..."

# install Ruby 1.9, apt-spy2, curl, geoip-bin, all required to make
# initial provisioning more resilient no matter where you might be
# (Ubuntu deb mirror configuration is notoriously fragile)
config.vm.provision "shell", inline: "apt-get -y install ruby1.9.3"
config.vm.provision "shell", inline: "apt-get -y install curl"
config.vm.provision "shell", inline: "apt-get -y install geoip-bin"
config.vm.provision "shell", inline: "gem install apt-spy2"

end

0 comments on commit ad64ef5

Please sign in to comment.