aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/puppet-reset-agent
blob: 17c752001b3c0e9348ecf6c201a00407d229d532 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash
#
# Reset puppet SSL setup and register again.
#

/etc/init.d/puppet stop
rm -rf /var/lib/puppet/ssl
puppetd --server puppet.`facter domain` --waitforcert 60 --debug --test --ca_port 8141