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
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
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
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,
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,
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
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