From 7bc2adbc05b1edcf326c05833e49b469dcc107bb Mon Sep 17 00:00:00 2001 From: Hardy Pottinger Date: Wed, 18 Dec 2013 11:26:35 -0600 Subject: [PATCH] [DS-1845] added an inline shell provisioner, to install apt-spy2 and dependencies --- Vagrantfile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index c51ff54..a67e88c 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -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