Re: [Puppet-dev] Re: [Puppet Users] Re: Announce: Facter 2.0.1

2014-07-31 Thread Kylo Ginsberg
Hi Madd, On Thu, Jul 31, 2014 at 5:08 AM, Madd Sauer wrote: > [root@devel69 facts.d]# cat /var/lib/puppet/lib/facter/kis_horcm.rb > if Facter.kernel == "Linux" > Facter.add("kis_horcm") do > setcode do > File.exist?("/etc/horcm.conf") >end > end > end > > > On

[Puppet-dev] Re: [Puppet Users] Re: Announce: Facter 2.0.1

2014-07-31 Thread Madd Sauer
Hello again, I found out that something has changed in way how facter elements has to use. old style if Facter.kernel == "Linux" new style if Facter.kernel => :Linux I think iI have to check some of our scripts ... sorry for making noise here ... Am Donnerstag, 31. Juli 2014 14:08:18 UTC

[Puppet-dev] Re: [Puppet Users] Re: Announce: Facter 2.0.1

2014-07-31 Thread Madd Sauer
Hello Jeff, I am a coworker of Stefan. root@devel69 facts.d]# facter --debug --trace Not an EC2 host undefined method `kernel' for Facter:Module /var/lib/puppet/lib/facter/kis_horcm.rb:5:in `' /usr/share/ruby/vendor_ruby/facter/util/loader.rb:115:in `load' /usr/share/ruby/vendor_ruby/facter/util/

[Puppet-dev] Re: [Puppet Users] Re: Announce: Facter 2.0.1

2014-04-02 Thread Jeff McCune
For those that are getting the undefined method errors, could you please run with --debug and --trace and paste the results so we could see a bit more information about where those methods are called from? Thanks, -Jeff -Jeff On Wed, Apr 2, 2014 at 7:50 AM, Stefan Wiederoder wrote: > we´ve