On Wednesday, November 5, 2014 7:41:59 AM UTC-6, Luca Gioppo wrote:
>
> I started by installing puppet (puppet master + puppetdb etc) from RPM 
> (yum.puppet....) on a CentOS 6.5.
> Since I want to test the "cloudstack_resource" module I saw that it needs 
> fog and it needs ruby 1.9.3.
>
> So tried to install ruby 1.9.3 from repos (getting it from scl) and 
> installed correctly (hope)
> Now the result of:
> ruby -v
> ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
>
> But when I check puppet agent:
> puppet agent --noop --debug --verbose
> Runtime environment: run_mode=agent, puppet_version=3.7.2, 
> ruby_version=1.8.7
>
> The Ruby version still is 1.8.7.
>
> How is possible to make puppet (installed from rpm) make use of the ruby 
> 1.9.3 taken from the rpm?
>
>
This is mostly a function of the Puppet RPM you use.  The system Ruby for 
CentOS 6 is version 1.8.7, so if you get a Puppet package for CentOS 6 (or 
RHEL 6, etc.) it is likely to be packaged for that Ruby.  There are various 
tricks you might play, but my recommendation is that you just get the 
source RPM, and use it to build your own Puppet package for your particular 
non-standard OS configuration.


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/ad397a99-0367-485a-8716-d374a5ba935f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to