Hello,
I'am search for the best way to reconnect a puppet client when I reinstall the entire operating system of the host.
Actually I follow this complex procedure where all the steps are mandatory :
On the agent :
----------------------
1) I remove
entirely the content of the /var/lib/puppet/ssl directory
On the server :
----------------------
2) I clean the agent cert (#puppet agent clean
myhost.mydomain.com)
3) I restart the puppermaster deamon
On the client :
---------------------
4) I query a new certificate (#puppet agent -t )
On the server :
---------------------
5) I sign the new certificate (#puppet cert sign
myhost.mydomain.com)
I use FAI (
http://fai-project.org ) to install my clients so it can be very annoying repeating this procedure.
Can someone help me ?
Baptiste.