On Wed, Oct 14, 2009 at 4:32 PM, Matt Delves <[email protected]> wrote:
>
> Hey All,
> Is it possible to have facter variables visible in providers? Is there an 
> example of this?

Facter.value(:operatingsystem)

http://github.com/reductivelabs/puppet/blob/master/lib/puppet/provider/service/launchd.rb#L102

Is that what you meant?

-- 
nigel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to