Re: [Puppet Users] facter fact within a custom provider

2013-03-22 Thread Stefan Schulte
On Fri, 22 Mar 2013 10:29:22 -0700 (PDT) Jist Anidiot wrote: > I have a custom package provider. However within the ruby code, I > need access a custom facter fact (which has the path to the > executable which handles the package installation). > > I tried doing lookupvar('bin_path' ) but it c

[Puppet Users] facter fact within a custom provider

2013-03-22 Thread Jist Anidiot
I have a custom package provider. However within the ruby code, I need access a custom facter fact (which has the path to the executable which handles the package installation). I tried doing lookupvar('bin_path' ) but it complained "undefined method `lookupvar'" So how do I reference a fact