[Puppet Users] Re: LoadError: no such file to load -- facter/util/file_read

2014-10-16 Thread Spriya
Thank you Craig, my issue solved. I had two versions of ruby. I removed one and followed your steps. On Wednesday, October 15, 2014 12:12:22 PM UTC-4, Craig White wrote: OK - so am I at the moment anyway... # puppet -V 3.6.2 (Puppet Enterprise 3.3.2) I was rather frustrated by not having

[Puppet Users] Re: LoadError: no such file to load -- facter/util/file_read

2014-10-15 Thread Spriya
Hi Craig, I am using PE. My installation was all in one(master,database,console). Yes i have more than one ruby installed. *ruby -v* *ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]* *$ cd /opt/puppet/bin* *./ruby -v* *ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]* let me

[Puppet Users] Re: LoadError: no such file to load -- facter/util/file_read

2014-10-15 Thread Craig White
OK - so am I at the moment anyway... # puppet -V 3.6.2 (Puppet Enterprise 3.3.2) I was rather frustrated by not having a system ruby so I did the following... # ln -s /opt/puppet/bin/ruby /opt/puppet/bin/irb /opt/puppet/bin/gem /usr/local/bin which made ruby/gem/irb available to any user any

[Puppet Users] Re: LoadError: no such file to load -- facter/util/file_read

2014-10-14 Thread Craig White
I don't see a 'file_read' method for Factor::Util Facter::Util.methods = [:freeze, :===, :==, :=, :, :=, :, :=, :to_s, :included_modules, :include?, :name, :ancestors, :instance_methods, :public_instance_methods, :protected_instance_methods, :private_instance_methods, :constants, :const_get,

[Puppet Users] Re: LoadError: no such file to load -- facter/util/file_read

2014-10-14 Thread Craig White
I don't see a 'file_read' method for Factor::Util Facter::Util.methods = [:freeze, :===, :==, :=, :, :=, :, :=, :to_s, :included_modules, :include?, :name, :ancestors, :instance_methods, :public_instance_methods, :protected_instance_methods, :private_instance_methods, :constants, :const_get,

[Puppet Users] Re: LoadError: no such file to load -- facter/util/file_read

2014-10-14 Thread Spriya
Hi Craig, even if i do require facter. It is throwing me error. *irb(main):002:0 require 'facter'* *LoadError: no such file to load -- facter* *from (irb):2:in `require'* *from (irb):2* *from :0* On Tuesday, October 14, 2014 5:22:26 PM UTC-4, Craig White wrote: I

[Puppet Users] Re: LoadError: no such file to load -- facter/util/file_read

2014-10-14 Thread Craig White
how did you install puppet? Do you have more than one install of ruby on your system? Is it possible that when you invoke the interactive ruby console (irb) that it starts a ruby binary that has nothing to do with your puppet install? On Tuesday, October 14, 2014 4:41:07 PM UTC-7, Spriya