Hello,
I don't get that example working. Looks like the variable is not set 
although "facter" lists it. In my manifest, I can access all Facter 
variables, but not the one I've defined the way described in your post and 
in the FAQ. It's empty. I'm on Puppet 2.7. What can be the reason?

Thanks.

Michael


On Thursday, December 20, 2012 3:32:48 PM UTC+1, jcbollinger wrote:
>
> Nevertheless, if you insist on doing as you say, then here's a way to 
> accomplish it:
>
>    1. Set environment-based node facts for the desired parameter values, 
>    as described here: 
>    
> http://docs.puppetlabs.com/guides/faq.html#can-i-access-environment-variables-with-facter
>    2. In the appropriate manifest, set the class parameters according to 
>    those node facts.  You can do that conditionally, if you prefer.
>    3. Run the agent normally.  If you wish, you can use the --tag option 
>    to limit the resources to be applied.
>    
>
>

-- 
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/-/bj_QMoWMYTkJ.
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.

Reply via email to