Now sure what you want to achieve here?!?!? If those are different
modules or something you can move that as a variable in facter and then
run the puppet agent by overriding the fact at runtime
Something like this
FACTER_MYENVPROPERTY="7.3" puppet agent -t
FACTER_MYENVPROPERTY="trunk" puppet agent -t
FACTER_MYENVPROPERTY="RC" puppet agent -t
then you can have conditional code around the global "myenvproperty" as
a variable.
But please give more info for your particular usecase so we
can better help you.
--
Nikola
> --
> 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
puppet-users...@googlegroups.com.
> To post to this group, send email to
puppet...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/puppet-users.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>