Re: [Puppet Users] custom fact in custom facts resolves to nil

2015-05-31 Thread David Schmitt
On 2015-05-29 08:46, ashee...@gmail.com wrote: Hi, one question. I'm using pluginsync. "Custom facts can be distributed to clients using the Plugins in Modules method." That seems not to be enough. So what is the path I've to use? I

Re: [Puppet Users] custom fact in custom facts resolves to nil

2015-05-29 Thread asheepen
Hi, one question. I'm using pluginsync. "Custom facts can be distributed to clients using the Plugins in Modules method." That seems not to be enough. So what is the path I've to use? Is it the path to the *rb files e.g. ..//lib/fac

Re: [Puppet Users] custom fact in custom facts resolves to nil

2015-05-29 Thread asheepen
Hi Peter, hi Thmaos, I'll need some time to test your suggestions. - Andreas Am Mittwoch, 27. Mai 2015 18:50:56 UTC+2 schrieb Peter Huene: > > Hi Andreas, > > On Tue, May 26, 2015 at 11:16 PM, > wrote: > >> Hi, >> >> is it possible to use custom facts inside other custom facts? >> >> With facte

Re: [Puppet Users] custom fact in custom facts resolves to nil

2015-05-27 Thread Peter Huene
Hi Andreas, On Tue, May 26, 2015 at 11:16 PM, wrote: > Hi, > > is it possible to use custom facts inside other custom facts? > > With facter -p the custom fact is listed ( e.g.): > > ... > userblweb => 1000 > > With irb: > > irb(main):001:0> require 'facter' > => true > irb(main):002:0> a = Fact

[Puppet Users] custom fact in custom facts resolves to nil

2015-05-26 Thread asheepen
Hi, is it possible to use custom facts inside other custom facts? With facter -p the custom fact is listed ( e.g.): ... userblweb => 1000 With irb: irb(main):001:0> require 'facter' => true irb(main):002:0> a = Facter.value(:userblweb) => nil Any idea? puppetversion: 3.7.3 facter 2.3.0 Reg