Hi !

I am currently testing puppet on CentOS 6 and I wish to test the cloud 
provisioner tool.
The problem is the following : I can't use fog because of ruby version 
issue.

The system : CentOS 6.4 with Ruby 1.8.7 (last version for CentOS)

What I did to get the problem :
install puppet-server
install module puppetlabs-cloud_provisioner
Trying install Fog -v 0.7.2 (cloud service library in ruby) but a 
dependence of it need a newer version of ruby (at least 1.9.2).
So I installed RVM and then ruby 1.9.2 to be able to install fog and all 
its dependencies, it worked fine.
Install guid gem (required by cloud_provisioner)

Then I did : export RUBYLIB=/etc/puppet/modules/cloud_provisioner/lib:$RUBYLIB

After this, PuppetLabs suggests to test if the installation worked fine by 
executing :
# puppet help node_aws

Here is the result :
[root@poste403 ~]# puppet help node_aws
/usr/local/rvm/gems/ruby-1.9.2-p320/gems/nokogiri-1.6.0/lib/nokogiri/nokogiri.so:
 [BUG] Segmentation fault
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
Abandon (core dumped)

I really don't understand why this.
If anyone encountered this problem before, thanks for help.

Vincent

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to