Grzegorz Marszałek
2009-Feb-18 14:56 UTC
[Puppet Users] nagios_ types and something like purge
Hello! I''m using a lot of nagios_ commands in my puppet manifests. Problem is when I delete some of them from manifest - they still stay in nagios configuration file. Is there any way to delete those ie.: nagios_services that aren''t defined in manifest? Like in example with purge => true when you use file resource. --- Grzegorz Marszałek graf0@post.pl --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Luke Kanies
2009-Feb-18 15:06 UTC
[Puppet Users] Re: nagios_ types and something like purge
On Feb 18, 2009, at 8:56 AM, Grzegorz Marszałek wrote:> > Hello! > > I''m using a lot of nagios_ commands in my puppet manifests. Problem is > when I delete some of them from manifest - they still stay in nagios > configuration file. Is there any way to delete those ie.: > nagios_services that aren''t defined in manifest? Like in example with > purge => true when you use file resource.You can use ''resources { nagios_foo: purge => true }, but it only works in the upcoming 0.24.8. -- I believe that if it were left to artists to choose their own labels, most would choose none. -- Ben Shahn --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.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 -~----------~----~----~----~------~----~------~--~---