From 05fc9055717f0ceeb37a0d022792678416ad8966 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 27 Sep 2011 20:46:49 -0300 Subject: Adding puppet-reset-master and renaming puppet-reset --- share/hydractl/puppet-reset-agent | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 share/hydractl/puppet-reset-agent (limited to 'share/hydractl/puppet-reset-agent') 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 -- cgit v1.2.3