>> Wait, are you actually purging the resources somewhere? If it becomes
>> unmanaged, that doesn't mean it cleans up after itself unless you are
>> purging also.
>
>
> I did this:
>
> Not sure if I can follow you though?!
>
> What happens if I manually add a (fake) host to my hosts.cfg file. The host
> doesn't exist in the puppetdb, because it was never "alive". On the next
> puppet run, puppet should remove this "false" entry in my hosts.cfg, right?
No not necessarily, you need to enable resource purging with resources
like nagios_host:
resources { "nagios_host":
purge => true,
}
ken.
--
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/CAE4bNTktrxTdvDGSYpANB_RkoydN-S8jEjOdLyDZDYBbxnjJGg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.