On Mon, Jan 27, 2014 at 7:12 AM, kaustubh chaudhari <[email protected]>wrote:
> 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> > It's worth mentioning that in addition to "puppet node deactivate", which explicitly asks for the given node to be removed, there are some options available that will automatically deactivate nodes after a period of inactivity: http://docs.puppetlabs.com/puppetdb/1.5/configure.html#node-ttl http://docs.puppetlabs.com/puppetdb/1.5/configure.html#node-purge-ttl deepak > > 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. >> >> Regards >> Vaibhav Gupta >> > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/a7d612fa-3dc5-4965-a56a-8024d349f3d1%40googlegroups.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAOjOXY3D7BMOvw37rtYnXpB79gbKLdO9v_7ydKcy7eW8jr-LOQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
