aboutsummaryrefslogtreecommitdiff
path: root/Vagrantfile
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-02-12 14:30:45 -0200
committerSilvio Rhatto <rhatto@riseup.net>2014-02-12 14:30:45 -0200
commitfd05ba9ed70a778bad67737601ff1433c1710294 (patch)
treea1b457252faae056facf92195a6fb3a792fc5f73 /Vagrantfile
parent0aa8510b29568a7001e1f5257c245fb532760a61 (diff)
downloadpuppet-bootstrap-fd05ba9ed70a778bad67737601ff1433c1710294.tar.gz
puppet-bootstrap-fd05ba9ed70a778bad67737601ff1433c1710294.tar.bz2
Vagrant: shell provisioner to keep the system updated
Diffstat (limited to 'Vagrantfile')
-rw-r--r--Vagrantfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Vagrantfile b/Vagrantfile
index a1cad3a..4748efd 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -5,6 +5,9 @@ Vagrant::Config.run do |config|
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "wheezy"
+ # Shell provisioner to keep the system updated.
+ config.vm.provision :shell, :inline => "sudo apt-get update && sudo apt-get dist-upgrade -y && sudo apt-get autoremove && sudo apt-get clean"
+
# Enable provisioning with Puppet stand alone.
config.vm.provision :puppet do |puppet|
puppet.manifest_file = "vagrant.pp"