I had this issue a few years ago. You can actually define a host_group in nagios without it having any hosts assigned to it. I set the hostgroup in the host definition instead of the hostgroup definition to get around it.
On 4 October 2012 01:01, Pete <peter.h...@ft.com> 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? > > Pete > > ________________________________ > This email was sent by a company owned by Pearson plc, registered office at > 80 Strand, London WC2R 0RL. Registered in England and Wales with company > number 53723. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/7g4gHwSXefQJ. > 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. -- 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.