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 puppet-us...@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.