[Puppet Users] Puppet on Centos 6.0
I am having no joy installing Puppet Server with MySQL support from the EPEL on Centos 6. The active record support for MySQL seems to be missing. Has anyone seen a good howto for this? -- 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.
[Puppet Users] Re: Puppet on Centos 6.0
On Oct 17, 3:46 pm, Dominik Zyla wrote: > On 10/17/2011 04:14 PM, robert.morti...@gmail.com wrote: > > > I am having no joy installing Puppet Server with MySQL support from > > the EPEL on Centos 6. The active record support for MySQL seems to be > > missing. Has anyone seen a good howto for this? > > You would need to install mysql library for Ruby. It should be packed in > Centos. > > -- > Dominik Zyla OK I was getting "ERROR: Could not find a valid gem 'ActiveRecord' (>= 0) in any repository" And that was sending me off on a wild goose chase across the internet looking for a Centos 6 ActiveRecord. Found it just as I came back to check Rob -- 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.
[Puppet Users] Re: Puppet on Centos 6.0
On Oct 17, 4:00 pm, "robert.morti...@gmail.com" wrote: > On Oct 17, 3:46 pm, Dominik Zyla wrote: > > > On 10/17/2011 04:14 PM, robert.morti...@gmail.com wrote: > > > > I am having no joy installing Puppet Server with MySQL support from > > > the EPEL on Centos 6. The active record support for MySQL seems to be > > > missing. Has anyone seen a good howto for this? > > > You would need to install mysql library for Ruby. It should be packed in > > Centos. > > > -- > > Dominik Zyla > > OK I was getting > "ERROR: Could not find a valid gem 'ActiveRecord' (>= 0) in any > repository" > And that was sending me off on a wild goose chase across the internet > looking for a Centos 6 ActiveRecord. > Still no joy I get this on the master when I run the client: Could not connect to database: Please install the mysql adapter: `gem install activerecord-mysql-adapter` (Could not find RubyGem mysql (~> 2.8.1)#012) ruby-mysql.x86_64 is installed but is ruby-mysql.x86_64 2.8.2-1.el6 from the epel Config is as follows (not real password) [master] storeconfigs = true dbadapter = mysql dbuser = puppet dbpassword = PASSWORD_HR dbserver = lsg-cbp-mysql01 dbname = puppet #dbsocket = /var/lib/mysql/mysql.sock Connection string can be used to connect to DB server from puppet server command line Do I need the Exact ruby mysql? > Found it just as I came back to check > > Rob -- 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.
[Puppet Users] Re: Puppet on Centos 6.0
On Oct 17, 9:05 pm, Todd Zullinger wrote: > robert.morti...@gmail.com wrote: > > I am having no joy installing Puppet Server with MySQL support from > > the EPEL on Centos 6. The active record support for MySQL seems to be > > missing. Has anyone seen a good howto for this? > > Sadly, rubygem-rails is not built for EL-6. You can either rebuild > the 2.3.8 packages from Fedora or find someone to act as a maintainer > for these in EPEL. But the puppet was from the epel, I sort of assumed it would have the correct mysql When I attempt the gem install I get:- gem install mysql --with-mysql-include=/usr/include/mysql --with- mysql-libs=/usr/lib64/mysql /usr/lib/ruby/1.8/thread.so: /usr/lib/ruby/1.8/thread.so: wrong ELF class: ELFCLASS32 - /usr/lib/ruby/1.8/thread.so (LoadError) from /usr/lib/ruby/1.8/thread.rb:5 from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:11:in `require' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:11 from /usr/bin/gem:8:in `require' from /usr/bin/gem:8 I have mysql-develop, the ruby dev and gcc installed > > -- > Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL:www.pobox.com/~tmz/pgp > ~~ > A word to the wise ain't necessary -- it's the stupid ones who need > the advice. > -- Bill Cosby > > application_pgp-signature_part > < 1KViewDownload -- 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.
[Puppet Users] Re: Puppet on Centos 6.0
On Oct 17, 9:26 pm, Russell Van Tassell wrote: > This looks like you have a 32-bit Ruby and are trying to link to the 64-bit > MySQL. > > On Mon, Oct 17, 2011 at 1:24 PM, robert.morti...@gmail.com < > installed yum list | grep ruby ruby.x86_64 1.8.7.299-5.el6_0.1 @updates > > > > > > > robert.morti...@gmail.com> wrote: > > > On Oct 17, 9:05 pm, Todd Zullinger wrote: > > > robert.morti...@gmail.com wrote: > > > > I am having no joy installing Puppet Server with MySQL support from > > > > the EPEL on Centos 6. The active record support for MySQL seems to be > > > > missing. Has anyone seen a good howto for this? > > > > Sadly, rubygem-rails is not built for EL-6. You can either rebuild > > > the 2.3.8 packages from Fedora or find someone to act as a maintainer > > > for these in EPEL. > > > But the puppet was from the epel, I sort of assumed it would have the > > correct mysql > > > When I attempt the gem install I get:- > > > gem install mysql --with-mysql-include=/usr/include/mysql --with- > > mysql-libs=/usr/lib64/mysql > > /usr/lib/ruby/1.8/thread.so: /usr/lib/ruby/1.8/thread.so: wrong ELF > > class: ELFCLASS32 - /usr/lib/ruby/1.8/thread.so (LoadError) > > from /usr/lib/ruby/1.8/thread.rb:5 > > from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:11:in `require' > > from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:11 > > from /usr/bin/gem:8:in `require' > > from /usr/bin/gem:8 > > > I have mysql-develop, the ruby dev and gcc installed > > > > -- > > > Todd OpenPGP -> KeyID: 0xBEAF0CE3 | > > > URL:www.pobox.com/~tmz/pgp<http://www.pobox.com/%7Etmz/pgp> > > > ~~ > > > A word to the wise ain't necessary -- it's the stupid ones who need > > > the advice. > > > -- Bill Cosby > > > > application_pgp-signature_part > > > < 1KViewDownload > > > -- > > 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. -- 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.