Hello,

I have a need for an exported resource that only gets exported once. So a 
class that exports this resource should test first if it hasn't already 
been exported, and only then export it.

In pseudo code:

if
  !exists X
then 
  @@X


The problem is that I can't seem to find out how to test for the existence 
of an exported resource in puppet, without any side effects...

Any hints?

Krist


-- 
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/881aa1e9-f299-4be4-924a-c970bab2a9bd%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to