nagios_ types and something like purge

1 view
Skip to first unread message

Grzegorz Marszałek

unread,
Feb 18, 2009, 9:56:10 AM2/18/09
to puppet...@googlegroups.com
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
gr...@post.pl


Luke Kanies

unread,
Feb 18, 2009, 10:06:42 AM2/18/09
to puppet...@googlegroups.com
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

Reply all
Reply to author
Forward
0 new messages