Issue #16575 has been updated by eric sorenson. Status changed from Unreviewed to Needs More Information Assignee set to Anthony Affee
Can you please include the output of `ruby --version` and `ruby -e 'puts $:'` ? It's not clear what you are trying to do. ---------------------------------------- Bug #16575: RVM and Centos5.8 https://projects.puppetlabs.com/issues/16575#change-74725 Author: Anthony Affee Status: Needs More Information Priority: Low Assignee: Anthony Affee Category: Target version: Affected Puppet version: Keywords: Branch: My system is as follows: All thru Yum install <pre> Puppet Master: CentOS 6.3 Puppet-master version - 2.7.19-1.el6 puppet version 2.7.19-1.el6 All Puppet Nodes: CentOS 5.8 puppet version - 2.7.19-1.el5 RVM list: ruby-1.8.7-p358 [ x86_64 ] =* ruby-1.9.3-p194 [ x86_64 ] </pre> All are from PuppetLabs Repo for CentOS 5 and 6 I have puppet master and the local agent on puppet master installed and working perfectly. Puppet that was installed on a machine without rvm install fine except for a gem issue: `*err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not connect to database: Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (no such file to load -- active_record/connection_adapters/mysql2_adapter)*` This error seems to happen on all my centos installs using puppet. My other issue is install puppet on a centos 5 with rvm: `[root@prod-web1 ~]# service puppet start *Starting puppet: /usr/sbin/puppetd:3:in `require': no such file to load -- puppet/application/agent (LoadError) from /usr/sbin/puppetd:3 [FAILED]*` Modified */usr/sbin/puppetd* and added to equal this: `*#!/usr/bin/ruby $LOAD_PATH.unshift("/usr/lib/ruby/site_ruby/1.8") require 'puppet/application/agent' Puppet::Application[:agent].run*` Then it allowed a start up when I issued *service puppet start* I run command again: `[root@prod-web1 ~]# puppet agent --test */usr/bin/puppet:3:in `require': no such file to load -- puppet/util/command_line (LoadError) from /usr/bin/puppet:3*` Modified exactly as I did above. This seemed to fix the problem and was able to sign the cert with a remote host. After signing with remote host, I ran command again *puppet agent --test* I get the following error: `*err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not connect to database: Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (no such file to load -- active_record/connection_adapters/mysql2_adapter)* ` Is this a proper work around? Are there other means to help with this? I would think that this should have been included in Docs or in yum repo. -Anthony -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
