That worked, thanks a lot John.

On Tuesday, February 12, 2013 4:15:52 PM UTC+2, jcbollinger wrote:
>
>
>
> On Tuesday, February 12, 2013 5:10:02 AM UTC-6, Andriy Yurchuk wrote:
>>
>> How do I reference my custom created facts (distributed via pluginsync)? 
>> I tried Facter[:custom_fact].value, but this does not seem to work - it 
>> always returns the value for the fact on master.
>>
>
> Node facts, both custom and built-in, manifest as the top-scope Puppet 
> variables.  You should be able to access them via 
> scope.lookupvar('::custom_fact').
>
>
> John
>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to