Hi, Building a new 2.7+storeconfigs+passenger puppetmaster and running into a problem: $ puppetd --server <puppetmaster> --verbose --waitforcert 60 -- environment=blah --test notice: Ignoring --listen on onetime run err: Could not retrieve catalog from remote server: Error 400 on SERVER: !!! Missing the mysql2 gem. Add it to your Gemfile: gem ''mysql2'' warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run Other [maybe] relevant information: $ rpm -qa | grep puppet puppet-server-2.6.7-1.el6.noarch puppet-2.6.7-1.el6.noarch ~$ gem list *** LOCAL GEMS *** abstract (1.0.0) actionmailer (3.0.5) actionpack (3.0.5) activemodel (3.0.5) activerecord (3.0.5) activeresource (3.0.5) activesupport (3.0.5) arel (2.0.9) builder (3.0.0, 2.1.2) bundler (1.0.10) daemon_controller (0.2.6) erubis (2.6.6) fastthread (1.0.7) file-tail (1.0.5) i18n (0.5.0) mail (2.2.15) mime-types (1.16) mysql2 (0.2.7) passenger (3.0.5) polyglot (0.3.1) rack (1.2.2) rack-mount (0.6.13) rack-test (0.5.7) rails (3.0.5) railties (3.0.5) rake (0.8.7) spruz (0.2.5) thor (0.14.6) treetop (1.4.9) tzinfo (0.3.25) Any idea on how to solve this problem? Thanks, Josh -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Cody Robertson
2011-Apr-11 21:32 UTC
[Puppet Users] Re: ActiveRecord/Puppet error? Missing mysql2 gem.
Did you manually install the gem? I believe Todd''s RPMS are built to work with EPEL so you might want to look for the mysql-ruby RPM and see if that works. -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Josh
2011-Apr-11 21:42 UTC
[Puppet Users] Re: ActiveRecord/Puppet error? Missing mysql2 gem.
Cody, Thanks for the help. Installing the "ruby-mysql" RPM from EPEL seemed to fix this issue. Thanks! Josh On Apr 11, 5:32 pm, Cody Robertson <c...@hawkhost.com> wrote:> Did you manually install the gem? I believe Todd''s RPMS are built to work > with EPEL so you might want to look for the mysql-ruby RPM and see if that > works.-- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.