Issue #4763 has been updated by James Turnbull.
This logic needs an update.
<pre>
if ! (defined?(::ActiveRecord) and defined?(::ActiveRecord::VERSION) and
defined?(::ActiveRecord::VERSION::MAJOR) and
defined?(::ActiveRecord::VERSION::MINOR))
false
elsif ! (::ActiveRecord::VERSION::MAJOR == 2 and
::ActiveRecord::VERSION::MINOR >= 1)
Puppet.info "ActiveRecord 2.1 or later required for StoreConfigs"
false
else
true
end
</pre>
----------------------------------------
Bug #4763: ActiveRecord detection fails
http://projects.puppetlabs.com/issues/4763
Author: arnaud chong
Status: Needs more information
Priority: Normal
Assignee:
Category: stored configuration
Target version:
Affected version:
Keywords:
Branch:
> Could not parse configuration file: StoreConfigs not supported without
> ActiveRecord 2.1 or higher
I have active_record 3.0.0 installed. I guess it's because of
::ActiveRecord::VERSION::MAJOR == 2 in lib/puppet/feature/rails.rb
--
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.