Hi all, Ignore this, it's not needed. Should've tested it before I posted!
On 16 feb, 12:30, Tim Stoop <[email protected]> wrote: > Hi all, > > Is there any way to check if a certain exported resource already > exist, without collecting and realizing them first? I'd like to > automatically create a @@nagios_servicegroup when it's mentioned in a > define that creates my service checks. Simply doing "if > defined(Nagios_servicegroup['newname'])" doesn't work, since it's not > instantiated on the node. Any idea how to do this? Or isn't this a > problem anyway, can I exported resources with the same name from > different hosts? (Haven't tried that yet, just thought about it while > typing.) > > -- > Kind regards, > Tim -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
