HI Vaibhav,
I use the below procedure. Hope this helps you!
==
Use the below procedure to delete the nodes permanantly!
On Puppet Master Server
# puppet node clean <node_certname>
# puppet node deactivate <node_certname>
ON Dashboard server
# cd /usr/share/puppet-dashboard
# rake RAILS_ENV=production node:del name=node_certname
==
-Kaustubh
On Monday, January 27, 2014 8:44:10 AM UTC-5, vaibhav gupta wrote:Hi All,Is there a way to list unresponsive nodes using a RAKE Task?Just to give the background for the need of such task: In our organization we are having multiple instances of puppet master to manage different set of environments (like DEV, QA, UAT, PROD). Just to verify the configurations, puppet users connect QA host (agent) to puppet master configured to serve requests to DEV machines and eventually results in uploading the reports to DEV master. Once the verification is completed, those nodes gets listed on the Dashboard in Unresponsive Section.I am looking out for a way to delete nodes which are in unresponsive state through a cron job and thus need to check for the status of Node using some RAKE Task.RegardsVaibhav Gupta
--To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/a7d612fa-3dc5-4965-a56a-8024d349f3d1%40googlegroups.com.
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 puppet-users...@googlegroups.com.