From e6651283ac7b7c4114224e90936e5cf26f4b8c65 Mon Sep 17 00:00:00 2001 From: varac Date: Mon, 24 Sep 2012 18:41:16 +0200 Subject: handle submodules --- deploy.sh | 6 ++++-- 1 file 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 $@ -- cgit v1.2.3