summaryrefslogtreecommitdiff
path: root/share/hydractl/puppet-reset
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-09-22 16:29:40 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-09-22 16:29:40 -0300
commitfec2db557dcad1f52a1ffa8b612629a0b8b4c054 (patch)
tree5e1305477007f7720027fa5974824937aa4ffe63 /share/hydractl/puppet-reset
parent9d4d507a6c86412f1815efc1e9345f37f0956465 (diff)
downloadhydra-fec2db557dcad1f52a1ffa8b612629a0b8b4c054.tar.gz
hydra-fec2db557dcad1f52a1ffa8b612629a0b8b4c054.tar.bz2
App skeleton
Diffstat (limited to 'share/hydractl/puppet-reset')
-rwxr-xr-xshare/hydractl/puppet-reset5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/hydractl/puppet-reset b/share/hydractl/puppet-reset
new file mode 100755
index 0000000..04d02b1
--- /dev/null
+++ b/share/hydractl/puppet-reset
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+/etc/init.d/puppet stop
+rm -rf /var/lib/puppet/ssl
+puppetd --server puppet.`facter domain` --waitforcert 60 --test --ca_port 8141