To remove the certificate you can use the REST api
http://docs.puppetlabs.com/guides/rest_api.html
DELETE /{environment}/certificate_status/{hostname}

As for removing the node, I dont have an answer, I have posted the question 
here prior and have yet to obtain a response.  For now I an using ssh and 
"puppet node clean <nodename>"




On Thursday, April 18, 2013 3:19:46 PM UTC-4, Rajul Vora wrote:
>
>
> I need to programmatically remove cert from Puppet master and remove all 
> information in Puppet DB for a node from another machine which is neither 
> Puppet Master or PuppetDB. It does have a Puppet signed cert since it is 
> also provisioned using Puppet.
>
> I can't find any decent documentation on this. I am using the Community 
> Edition.
>
> Any pointers / help is appreciated.
>
> Rajul
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to