aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"