Issue #3906 has been updated by Markus Roberts. Status changed from Ready for Testing to Closed Target version deleted (0.25.6)
We're not doing a 0.25.6, so fixed in master is sufficient. ---------------------------------------- Bug #3906: uninitialized constant Puppet::Rails when using storeconfigs https://projects.puppetlabs.com/issues/3906 Author: Michael Knox Status: Closed Priority: Normal Assignee: Category: Rails Target version: Affected version: 0.25.5 Keywords: Branch: http://github.com/nicklewis/puppet/tree/ticket/master/3906-missing_constant_with_storeconfigs While setting up stored configs, I found that whenever I set storeconfigs = true I got the following message when running puppetmasterd. Could not autoload active_record: uninitialized constant Puppet::Rails /usr/lib64/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:164:in `validate_terminus_class': Could not find terminus active_record for indirection catalog (ArgumentError) from /usr/lib64/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:50:in `cache_class=' from /usr/lib64/ruby/site_ruby/1.8/puppet/indirector.rb:38:in `cache_class=' from /usr/lib64/ruby/site_ruby/1.8/puppet/defaults.rb:792:in `handle' from /usr/lib64/ruby/site_ruby/1.8/puppet/util/settings.rb:371:in `unsafe_parse' from /usr/lib64/ruby/site_ruby/1.8/puppet/util/settings.rb:832:in `each_source' from /usr/lib64/ruby/site_ruby/1.8/puppet/util/settings.rb:829:in `each' from /usr/lib64/ruby/site_ruby/1.8/puppet/util/settings.rb:829:in `each_source' from /usr/lib64/ruby/site_ruby/1.8/puppet/util/settings.rb:364:in `unsafe_parse' from /usr/lib64/ruby/site_ruby/1.8/puppet/util/settings.rb:363:in `each' from /usr/lib64/ruby/site_ruby/1.8/puppet/util/settings.rb:363:in `unsafe_parse' from /usr/lib64/ruby/site_ruby/1.8/puppet/util/settings.rb:334:in `parse' from /usr/lib64/ruby/1.8/sync.rb:229:in `synchronize' from /usr/lib64/ruby/site_ruby/1.8/puppet/util/settings.rb:333:in `parse' from /usr/lib64/ruby/site_ruby/1.8/puppet/application.rb:269:in `run' from /usr/lib64/ruby/site_ruby/1.8/puppet/application.rb:369:in `exit_on_fail' from /usr/lib64/ruby/site_ruby/1.8/puppet/application.rb:269:in `run' from /usr/sbin/puppetmasterd:66 After adding ... require 'puppet/rails' to lib/puppet/rails/param_value.rb, puppetmasterd would run without error. System is: OpenSuSE 11.1 (x64), ruby 1.87, rails v2.2.2 I noticed the error with rails 2.3.8 but haven't tested my solution with it. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" 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-bugs?hl=en.
