2014-10-09 15:20 GMT+02:00 Ken Barber <[email protected]>:
>
> No not necessarily, you need to enable resource purging with resources
> like nagios_host:
>
> resources { "nagios_host":
> purge => true,
> }
>
Oh, I just did not now that. My manifest now looks like this:
resources { ["nagios_host", "nagios_service"]:
purge => true,
}
#Collect the nagios_host resources
Nagios_host <<||>> {
target => "/etc/icinga/puppet.d/hosts.cfg",
require => File["/etc/icinga/puppet.d/hosts.cfg"],
notify => Service[icinga],
}
But the entries don't get purged. Looks like I'm still missing something :/
Best regards,
Kai
--
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/CA%2B0qVEdKGbxEpnt19o-6nVHG4YLdm7ia8XojOPMv4sM_Sb%2BBYA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.