Bug #4109

Could not parse configuration file: Could not autoload active_record: uninitialized constant Puppet::Rails

Added by Avi Miller almost 2 years ago. Updated almost 2 years ago.

Status:Duplicate Start date:07/01/2010
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Rails
Target version:2.6.0
Affected Puppet version:development Branch:
Keywords:
Votes: 0

Description

Trying to enable storeconfigs on latest version of Puppet 2.6 pulled from git on Enterprise Linux 5 x86_64. Installed via ruby ./install.rb from the git clone.

Puppet master fails to start with the following error:

Could not parse configuration file: Could not autoload active_record: uninitialized constant Puppet::Rails

Attached, please find the puppet.conf and output from puppet master —verbose —debug —trace.

stack-trace.txt - Output from stack trace (5.8 kB) Avi Miller, 07/01/2010 03:44 am

puppet-conf.txt - Contents of /etc/puppet/puppet.conf (964 Bytes) Avi Miller, 07/01/2010 03:44 am


Related issues

duplicates Puppet - Bug #3906: uninitialized constant Puppet::Rails when using storecon... Closed 05/28/2010

History

Updated by James Turnbull almost 2 years ago

  • Category set to Rails
  • Status changed from Unreviewed to Investigating
  • Assignee set to Jesse Wolfe
  • Target version set to 2.6.0

I can replicate this too.

Updated by Brice Figureau almost 2 years ago

James Turnbull wrote:

I can replicate this too.

I can too. The fix is simple add a require ‘puppet/rails’ in lib/puppet/indirector/catalog/active_record.rb

Updated by Markus Roberts almost 2 years ago

  • Status changed from Investigating to Duplicate
  • Assignee deleted (Jesse Wolfe)

Also available in: Atom PDF