diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-02-12 14:30:45 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-02-12 14:30:45 -0200 |
commit | fd05ba9ed70a778bad67737601ff1433c1710294 (patch) | |
tree | a1b457252faae056facf92195a6fb3a792fc5f73 /Vagrantfile | |
parent | 0aa8510b29568a7001e1f5257c245fb532760a61 (diff) | |
download | puppet-bootstrap-fd05ba9ed70a778bad67737601ff1433c1710294.tar.gz puppet-bootstrap-fd05ba9ed70a778bad67737601ff1433c1710294.tar.bz2 |
Vagrant: shell provisioner to keep the system updated
Diffstat (limited to 'Vagrantfile')
-rw-r--r-- | Vagrantfile | 3 |
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" |