summaryrefslogtreecommitdiff
path: root/share/hydractl/init
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl/init')
-rwxr-xr-xshare/hydractl/init12
1 files changed, 12 insertions, 0 deletions
diff --git a/share/hydractl/init b/share/hydractl/init
new file mode 100755
index 0000000..6c8264a
--- /dev/null
+++ b/share/hydractl/init
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+hydractl backports
+hydractl install_puppet
+
+mkdir -p /etc/puppet/modules
+git clone git://git.sarava.org/puppet-bootstrap /etc/puppet/modules/bootstrap
+
+# TODO: edit /etc/puppet/modules/bootstrap/manifests/site.pp to suit your needs.
+
+puppetd --no-daemonize --debug --verbose --onetime /etc/puppet/modules/bootstrap/manifests/init.pp
+puppetd --no-daemonize --debug --verbose