summaryrefslogtreecommitdiff
path: root/share/hydractl/puppet-reset-agent
blob: 00d0e7651f9354cb6248cb35e6e26c9be26a40ee (plain)
1
2
3
4
5
6
7
8
9
#!/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 \
        --vardir /var/lib/puppet --ssldir /var/lib/puppet/ssl