summaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/deploy.sh b/deploy.sh
index 6aab1119..0db6cf91 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -6,16 +6,18 @@ PUPPET_ENV='--confdir=puppet'
install_prerequisites () {
apt-get update
- apt-get install puppet
+ apt-get install puppet git
# lsb is needed for a first puppet run
puppet apply $PUPPET_ENV --execute 'include lsb'
+ git submodule init
+ git submodule update
}
# main
# commented for testing purposes
-#install_prerequisites
+install_prerequisites
puppet apply $PUPPET_ENV puppet/manifests/site.pp $@