[Puppet Users] Re: Two questions about custom facts

2015-02-17 Thread Raphink
Native facts (written in Ruby using the Facter module) go into lib/facter/, while custom facts (either static text files or scripts in the language of your choice) go into facts.d/. Facts are computed before each Puppet run. If Puppet installs a package and your fact returns the version of that

Re: [Puppet Users] Re: Two questions about custom facts

2015-02-17 Thread Peter Berghold
On Tue, Feb 17, 2015 at 11:31 AM, Raphink wrote: > > Facts are computed before each Puppet run. If Puppet installs a package > and your fact returns the version of that package, then the fact value will > be available after the second Puppet run. > > > OK that's what I suspected. So there is now

Re: [Puppet Users] Re: Two questions about custom facts

2015-02-18 Thread jcbollinger
On Tuesday, February 17, 2015 at 1:13:13 PM UTC-6, Salty Old Cowdawg wrote: > > > > On Tue, Feb 17, 2015 at 11:31 AM, Raphink > > wrote: > >> >> Facts are computed before each Puppet run. If Puppet installs a package >> and your fact returns the version of that package, then the fact value will