aboutsummaryrefslogtreecommitdiff
path: root/bin/dependencies
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-03-25 12:35:21 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-03-25 12:35:21 -0300
commit64b8d70fbf9c903ddc4862c1d324df3739a78fcb (patch)
treec28a6318af47e07cd4138209838e6416318ab098 /bin/dependencies
parent60515090dbbb0a89e564c8a2f77e42a319db9881 (diff)
downloadpuppet-bootstrap-64b8d70fbf9c903ddc4862c1d324df3739a78fcb.tar.gz
puppet-bootstrap-64b8d70fbf9c903ddc4862c1d324df3739a78fcb.tar.bz2
Deploy dependencies, TODO update
Diffstat (limited to 'bin/dependencies')
-rwxr-xr-xbin/dependencies5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/dependencies b/bin/dependencies
index 78f6ed4..c6f09ab 100755
--- a/bin/dependencies
+++ b/bin/dependencies
@@ -8,6 +8,11 @@ BASENAME="`basename $0`"
DEPLOY_DEPENDENCIES="puppet-common"
DEVELOP_DEPENDENCIES="git mr whois"
+# Additional wheezy dependencies
+if [ "`head -c 1 /etc/debian_version`" != '7' ]; then
+ DEPLOY_DEPENDENCIES="$DEPLOY_DEPENDENCIES ruby-hiera-puppet"
+fi
+
# Set sudo config
if [ "`whoami`" != 'root' ]; then
SUDO="sudo"