diff options
Diffstat (limited to 'puppet/bin/dependencies')
-rwxr-xr-x | puppet/bin/dependencies | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/puppet/bin/dependencies b/puppet/bin/dependencies index 78ca659..507145b 100755 --- a/puppet/bin/dependencies +++ b/puppet/bin/dependencies @@ -1,6 +1,6 @@ #!/bin/bash # -# Simple shell provisioner for Vagrant instances. +# Puppet bootstrap dependencies. # # Install a package, thanks to the Hydra Suite. @@ -13,16 +13,16 @@ function provision_package { if [ "$?" == "1" ]; then echo "Installing package $1..." - DEBIAN_FRONTEND=noninteractive $sudo apt-get install $1 -y + DEBIAN_FRONTEND=noninteractive $SUDO apt-get install $1 -y fi } # Set sudo config if [ "`whoami`" != 'root' ]; then - sudo="sudo" + SUDO="sudo" fi # Ensure basic packages are installed. -for package in puppet ruby-hiera-puppet mr whois; do +for package in puppet git mr whois; do provision_package $package done |