diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-09-27 20:46:49 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-09-27 20:46:49 -0300 |
commit | 05fc9055717f0ceeb37a0d022792678416ad8966 (patch) | |
tree | e2600ce73c87e2e23f2fc4aeb182df1856bd3c4a /share/hydractl/puppet-reset-agent | |
parent | 7ae3852c15873cdbc4740f75c48565e5fcc2df70 (diff) | |
download | hydra-05fc9055717f0ceeb37a0d022792678416ad8966.tar.gz hydra-05fc9055717f0ceeb37a0d022792678416ad8966.tar.bz2 |
Adding puppet-reset-master and renaming puppet-reset
Diffstat (limited to 'share/hydractl/puppet-reset-agent')
-rwxr-xr-x | share/hydractl/puppet-reset-agent | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/share/hydractl/puppet-reset-agent b/share/hydractl/puppet-reset-agent new file mode 100755 index 0000000..d009c02 --- /dev/null +++ b/share/hydractl/puppet-reset-agent @@ -0,0 +1,10 @@ +#!/bin/bash +# +# 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 |