aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-27 21:08:27 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-27 21:08:27 -0300
commit05fd9b743b1997fe1a2eb4381218cacf41f4794b (patch)
treebe32b7b272e5a5b1461603b9665e1687a0952881 /share/hydractl
parentc155100258ba382e92e24f093959e9d1e71a09e4 (diff)
downloadhydra-05fd9b743b1997fe1a2eb4381218cacf41f4794b.tar.gz
hydra-05fd9b743b1997fe1a2eb4381218cacf41f4794b.tar.bz2
Force vardir and ssldir at puppet-reset-agent to avoid trouble reseting the agent in the master node
Diffstat (limited to 'share/hydractl')
-rwxr-xr-xshare/hydractl/puppet-reset-agent3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/hydractl/puppet-reset-agent b/share/hydractl/puppet-reset-agent
index 17c7520..00d0e76 100755
--- a/share/hydractl/puppet-reset-agent
+++ b/share/hydractl/puppet-reset-agent
@@ -5,4 +5,5 @@
/etc/init.d/puppet stop
rm -rf /var/lib/puppet/ssl
-puppetd --server puppet.`facter domain` --waitforcert 60 --debug --test --ca_port 8141
+puppetd --server puppet.`facter domain` --waitforcert 60 --debug --test --ca_port 8141 \
+ --vardir /var/lib/puppet --ssldir /var/lib/puppet/ssl