aboutsummaryrefslogtreecommitdiff
path: root/bin/dependencies
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-10-20 13:53:25 -0200
committerSilvio Rhatto <rhatto@riseup.net>2015-10-20 13:53:25 -0200
commit49c44668c835013a88e067e0af588d0005fe2d01 (patch)
treeec8c044891f2b1cb807c8d7590e08685347b5597 /bin/dependencies
parent91477be1db80bd38ccc03ab38487e69dcad30b86 (diff)
downloadpuppet-bootstrap-49c44668c835013a88e067e0af588d0005fe2d01.tar.gz
puppet-bootstrap-49c44668c835013a88e067e0af588d0005fe2d01.tar.bz2
Patches, deployment code and TODO update
Diffstat (limited to 'bin/dependencies')
-rwxr-xr-xbin/dependencies6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/dependencies b/bin/dependencies
index d77e5f6..507145b 100755
--- a/bin/dependencies
+++ b/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,13 +13,13 @@ 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.