On Oct 17, 4:00 pm, "robert.morti...@gmail.com" <robert.morti...@gmail.com> wrote: > On Oct 17, 3:46 pm, Dominik Zyla <dominik.z...@gmail.com> 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.