On 03.10.2012 17:01, Pete wrote:
Hello,

Is there any way to test if a resources has been exported (without
realising it)?  The reason being - I don't want to realise a
nagios_service that's associated with a nagios_hostgroup until at least
one nagios_host belonging to that hostgroup exists (otherwise nagios
will refuse to start).

Any ideas?

With puppetdb collections can have complex queries. That could allow each nagios_host to collect its _services and _hostgroups.


Please report back with your results!


Best Regards, David

--
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to