summaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
authorLeap Admins <admin@leap.se>2012-09-26 16:31:07 +0000
committerLeap Admins <admin@leap.se>2012-09-26 16:34:19 +0000
commit7f9c8f7dee5a344f226df74becf9c30e69783b55 (patch)
treec98380ac39dc7ee24b1ac2002f90562002230b83 /deploy.sh
parent6762786fb249bd324587cac7b2de3916fa19a752 (diff)
parente73a5e34742a63d82ee4b1a84a779403d9f71bd7 (diff)
Restructure develop branch to have master as ancestor
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh
new file mode 100755
index 00000000..0db6cf91
--- /dev/null
+++ b/deploy.sh
@@ -0,0 +1,23 @@
+#!/bin/sh -x
+#
+# missing: header, licence, usage
+
+PUPPET_ENV='--confdir=puppet'
+
+install_prerequisites () {
+ apt-get update
+ 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
+
+puppet apply $PUPPET_ENV puppet/manifests/site.pp $@
+