Added apt-get update before upgrade.
[inetstation.git] / modules / persist / files / usr / local / sbin / git2puppet
1 #!/bin/bash
2
3 cd /etc/puppet
4 git pull
5 git submodule init
6 git submodule update
7 puppet apply /etc/puppet/manifests/site.pp
8 apt-get -y update
9 apt-get -y upgrade
10 apt-get -y autoremove
11