aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-27 20:54:31 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-27 20:54:31 -0300
commit422b02a7f747838d656dda6dda5b09bd08fa92c0 (patch)
tree83dd52c110f0fce92cbf2c06b378366a959a60ef
parent009e2027efb4c82ff28a4d3cc9c9fbfdba6ffce7 (diff)
downloadhydra-422b02a7f747838d656dda6dda5b09bd08fa92c0.tar.gz
hydra-422b02a7f747838d656dda6dda5b09bd08fa92c0.tar.bz2
Adding --debug to puppet-reset-agent
-rwxr-xr-xshare/hydractl/puppet-reset-agent4
1 files changed, 1 insertions, 3 deletions
diff --git a/share/hydractl/puppet-reset-agent b/share/hydractl/puppet-reset-agent
index d009c02..17c7520 100755
--- a/share/hydractl/puppet-reset-agent
+++ b/share/hydractl/puppet-reset-agent
@@ -2,9 +2,7 @@
#
# Reset puppet SSL setup and register again.
#
-# TODO: remove whole /var/lib/puppet?
-#
/etc/init.d/puppet stop
rm -rf /var/lib/puppet/ssl
-puppetd --server puppet.`facter domain` --waitforcert 60 --test --ca_port 8141
+puppetd --server puppet.`facter domain` --waitforcert 60 --debug --test --ca_port 8141