On Mon, Jun 29, 2009 at 8:23 AM, Felix Schäfer<[email protected]> wrote: > > Hello, > > I can't get storedconfigs to work, puppetmaster keeps complaining > about "missing Rails". Fact is I do have rails installed, I even have > a few rails apps running fine with a mysql backend in passenger. I > have tried to localise a possible error by starting puppetmasterd with > debug, but nothing obvious there, no help either in the logs. I also > tried setting RUBYLIB to the gempath and even the paths to the gems, > but that didn't help either. irb also is quite happy with the active > record invocations puppet uses:
Do you possibly have multiple versions installed? I ran into that issue, and this comment from this bug offered me a workaround. http://projects.reductivelabs.com/issues/2041#note-22 > > """ > irb(main):001:0> require 'rubygems' > => true > irb(main):002:0> require 'active_record' > => true > """ > > Here's the important part of the puppet.conf: > """ > storeconfigs = true > dbadapter = mysql > dbuser = puppet > dbpassword = xxxxxxxxxxxxxx > dbserver = localhost > dbsocket = /var/lib/mysql/mysql.sock > """ > > gem also lists rails and active_record as present: > """ > *** LOCAL GEMS *** > > actionmailer (2.3.2, 2.1.2) > actionpack (2.3.2, 2.1.2) > activerecord (2.3.2, 2.1.2) > activeresource (2.3.2, 2.1.2) > activesupport (2.3.2, 2.1.2) > fastthread (1.0.7, 1.0.1) > haml (2.0.9) > passenger (2.1.2) > rack (1.0.0, 0.9.1) > rails (2.3.2, 2.1.2) > rake (0.8.5, 0.8.3) > """ > > Both sides are running a suse flavour and have puppet, resp. > puppetmaster, at version 0.24.8. > > Any help to get storedconfigs going would be great, thanks! > > Felix > > > > -- Nigel Kersten [email protected] System Administrator Google, Inc. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" 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-users?hl=en -~----------~----~----~----~------~----~------~--~---
