summaryrefslogtreecommitdiff
path: root/share/hydractl/puppet-reset
diff options
context:
space:
mode:
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