You can rebuild puppet and/or facter to use the ruby you have available. It should only require modifying a couple of lines in the spec file. You'd need to modify the ruby dependencies and the rubylib.
On Tue, Oct 16, 2012 at 12:15 PM, Jamie <gojamieg...@gmail.com> wrote: > Is it possible to tell Puppet (and Facter for that matter) to use a custom > Ruby that exists alongside the Ruby 1.8.7 that comes with CentOS 5 without > converting the entire host to only use the custom version? > > I'm in an environment where we're stuck on CentOS 5 for some time and it's > ancient Ruby. We do though have a custom packaging of Ruby 1.9 installed on > all machines with separate binaries, i.e. /usr/bin/my_ruby, /usr/bin/my_irb > that we use when we need Ruby. > > > I'm looking for some config or startup option that says where to find Ruby. > So far I don't see anything in the init scripts or config options. > > > Solutions such as linking /usr/bin/ruby to /usr/bin/my_ruby are not an > option but rebuilding an RPM is. > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/MdQ1apUpOxQJ. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. -- Matthaus Owens Release Manager, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.