Added bootstrap script that clones the puppet repo
authorWonko T. Sane <42@wonko.de>
Sun, 28 Feb 2016 19:19:21 +0000 (20:19 +0100)
committerWonko T. Sane <42@wonko.de>
Sun, 28 Feb 2016 19:19:21 +0000 (20:19 +0100)
bootstrap.sh [new file with mode: 0644]

diff --git a/bootstrap.sh b/bootstrap.sh
new file mode 100644 (file)
index 0000000..b0d783c
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/env bash
+
+mv /etc/puppet /etc/puppet.orig
+
+git clone https://chaos.expert/ccc-ffm/4Refugees-InternetCafe.git /etc/puppet
+
+cd /etc/puppet
+git submodule init
+git submodule update
+puppet apply /etc/puppet/manifests/site.pp
+