I''m trying to build a server with puppet 2.7.3 and storeconfig . I keep getting the following error: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not connect to database: Please install the mysql adapter: `gem install activerecord-mysql-adapter` gem install activerecord-mysql-adapter can not find the package I''m using lucid 10.04 with puppet and ruby libraries packages installed through gem. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/iPHKHkdmHC4J. 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.
On Sep 1, 2011, at 7:27 AM, Moty wrote:> I''m trying to build a server with puppet 2.7.3 and storeconfig . I keep getting the following error: > > err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not connect to database: Please install the mysql adapter: `gem install activerecord-mysql-adapter` > > gem install activerecord-mysql-adapter can not find the package > > I''m using lucid 10.04 with puppet and ruby libraries packages installed through gem.---- not exactly sure what you are trying to accomplish here but... gem search mysql --remote | grep activerecord activerecord-jdbcmysql-adapter (1.1.3, 1.0.3 java) activerecord-mysql-adapter-flags (0.0.3) activerecord-mysql2legacydb-adapter (0.2.0) activerecord-mysql2spatial-adapter (0.4.0) activerecord-mysqlspatial-adapter (0.4.0) npd-activerecord-jdbcmysql-adapter (0.9.2) activerecord-mysql-adapter doesn''t seem to exist also, you can''t possibly have installed ruby libraries through gem because gem doesn''t exist/function unless you have ruby libraries installed. gem install mysql # should be all you need to use storeconfigs or for that matter, store puppet/puppet-dashboard/foreman to mysql Craig -- 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.
Well .... sorry for not being accurate.... - I meant gems not libraries - regarding mysql I tries the gem version of it and the apt pkg . both gave samne results Moty -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/uuSCSY37IqQJ. 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.
On Sep 1, 2011, at 8:19 AM, Moty wrote:> > Well .... sorry for not being accurate.... > > - I meant gems not libraries > - regarding mysql I tries the gem version of it and the apt pkg . both gave samne results---- sounds like you don''t have mysql configured on your puppetmaster Craig -- 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.
here is the full message I get: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not connect to database: Please install the mysql adapter: `gem install activerecord-mysql-adapter` (Could not find mysql (~> 2.8.1) amongst [actionmailer-3.1.0, actionpack-3.1.0, activemodel-3.1.0, activerecord-3.1.0, activeresource-3.1.0, activesupport-3.1.0, arel-2.2.1, bcrypt-ruby-3.0.0, builder-3.0.0, bundler-1.0.18, daemon_controller-0.2.6, erubis-2.7.0, facter-1.6.0, fastthread-1.0.7, hike-1.2.1, i18n-0.6.0, mail-2.3.0, mime-types-1.16, multi_json-1.0.3, passenger-3.0.8, polyglot-0.3.2, puppet-2.7.3, rack-1.3.2, rack-cache-1.0.3, rack-mount-0.8.3, rack-ssl-1.3.2, rack-test-0.6.1, rails-3.1.0, railties-3.1.0, rake-0.9.2, rdoc-3.9.4, rubygems-update-1.8.10, sprockets-2.0.0, thor-0.14.6, tilt-1.3.3, treetop-1.4.10, tzinfo-0.3.29]) although you can''t see here mysql you can see it in my gem list: *** LOCAL GEMS *** actionmailer (3.1.0, 2.3.5) actionpack (3.1.0, 2.3.5) activemodel (3.1.0) activerecord (3.1.0, 2.3.5) activeresource (3.1.0, 2.3.5) activesupport (3.1.0, 2.3.5) arel (2.2.1) bcrypt-ruby (3.0.0) builder (3.0.0) bundler (1.0.18) daemon_controller (0.2.6) erubis (2.7.0) facter (1.6.0) fastthread (1.0.7) hike (1.2.1) i18n (0.6.0) mail (2.3.0) mime-types (1.16) multi_json (1.0.3) *mysql* (2.8.1) passenger (3.0.8) polyglot (0.3.2) puppet (2.7.3) rack (1.3.2, 1.0.1) rack-cache (1.0.3) rack-mount (0.8.3) rack-ssl (1.3.2) rack-test (0.6.1) rails (3.1.0, 2.3.5) railties (3.1.0) rake (0.9.2) rdoc (3.9.4) rubygems-update (1.8.10) sprockets (2.0.0) thor (0.14.6) tilt (1.3.3) treetop (1.4.10) tzinfo (0.3.29) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/JR_kT0FeQokJ. 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.
it seems that first run with storeconfigs should be done through puppetmasterd daemon and not through passenger. When I do this tables are created and not mysql error is generated I probably missed that in the documents (now I have : err: stack level too deep ) Moty -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/tswQBHUoojQJ. 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.
it seems that first run with storeconfigs should be done through puppetmasterd daemon and not through passenger. When I do this tables are created and not mysql error is generated I probably missed that in the documents (now I have : err: stack level too deep ) 10x Moty -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/eMTQzXeh9TUJ. 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.