aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/init
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-09-22 18:23:58 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-09-22 18:23:58 -0300
commitc36794e899731be16f1045a9ae19878813fd9896 (patch)
treeabbfbfb6d69b2e43b1748822cfbfb2b5c5964bdd /share/hydractl/init
parentfec2db557dcad1f52a1ffa8b612629a0b8b4c054 (diff)
downloadhydra-c36794e899731be16f1045a9ae19878813fd9896.tar.gz
hydra-c36794e899731be16f1045a9ae19878813fd9896.tar.bz2
Action changes
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