diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-03-25 12:35:21 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-03-25 12:35:21 -0300 |
commit | 64b8d70fbf9c903ddc4862c1d324df3739a78fcb (patch) | |
tree | c28a6318af47e07cd4138209838e6416318ab098 /bin/dependencies | |
parent | 60515090dbbb0a89e564c8a2f77e42a319db9881 (diff) | |
download | puppet-bootstrap-64b8d70fbf9c903ddc4862c1d324df3739a78fcb.tar.gz puppet-bootstrap-64b8d70fbf9c903ddc4862c1d324df3739a78fcb.tar.bz2 |
Deploy dependencies, TODO update
Diffstat (limited to 'bin/dependencies')
-rwxr-xr-x | bin/dependencies | 5 |
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" |