Jeff Palmer
2009-Feb-21 00:06 UTC
[Puppet Users] How to force virtual resource collection?
Hello! I am currently running puppet 0.24.4 on ubuntu, and I am using the nagios types to automatically generate services and hosts as servers are stopped and started at EC2. I am currently deleting host entries from the stored config DB when a server is shutdown, but I can''t figure out how to get puppet to regenerate the nagios configs to reflect the elimination of that host. Is there a way to force a recompilation of the nagios config files from the virtual resources, or establish some type of dependency that would accomplish this? Thanks for your help! - Jeff --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Brice Figureau
2009-Feb-21 15:08 UTC
[Puppet Users] Re: How to force virtual resource collection?
On 21/02/09 1:06, Jeff Palmer wrote:> Hello! > > I am currently running puppet 0.24.4 on ubuntu, and I am using the > nagios types to automatically generate services and hosts as servers > are stopped and started at EC2. I am currently deleting host entries > from the stored config DB when a server is shutdown, but I can''t > figure out how to get puppet to regenerate the nagios configs to > reflect the elimination of that host. Is there a way to force a > recompilation of the nagios config files from the virtual resources, > or establish some type of dependency that would accomplish this? > > Thanks for your help! >I''m working on a new puppet application called puppetclean which has the --unexport option which marks on host exported resources (which supports ensure) to be ensure => absent. See redmine entry #1886: http://projects.reductivelabs.com/issues/1886 Maybe that would solve your issue? I hope to get it merged for 0.25 Thanks, -- Brice Figureau Days of Wonder http://www.daysofwonder.com --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---