summaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-09-24 18:41:16 +0200
committervarac <varacanero@zeromail.org>2012-09-24 18:41:16 +0200
commite6651283ac7b7c4114224e90936e5cf26f4b8c65 (patch)
treea6a86b675051816cb8a405040385f201a5c8c06a /deploy.sh
parent0c3c2ff8ed6745fad5c440e295a3c171df53d765 (diff)
handle submodules
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 $@