On master use:
puppetca --clean your.host.name

On the agent I use this to delete all keys and certificates.
find /var/lib/puppet -name "*" -type f -exec rm -f {} \;
There might be a more elegant solution.

Regards,
Bernd


Von: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] Im 
Auftrag von Sandra Schlichting
Gesendet: Dienstag, 25. September 2012 12:07
An: puppet-users@googlegroups.com
Betreff: [Puppet Users] How to change node hostname?

Dear readers,

I have changed the hostname of a node, and so the question is:

How do I delete the old puppet certificate on the node and master?

Hugs,
Sandra =)


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/OLHRwbyab6MJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to