diff --git a/lib/puppet/feature/rails.rb b/lib/puppet/feature/rails.rb
index b4c09a2..533f9ce 100644
--- a/lib/puppet/feature/rails.rb
+++ b/lib/puppet/feature/rails.rb
@@ -26,7 +26,7 @@ Puppet.features.add(:rails) do
end
if ! (defined?(::ActiveRecord) and defined?(::ActiveRecord::VERSION) and defined?(::ActiveRecord::VERSION::MAJOR) and defined?(::ActiveRecord::VERSION::MINOR))
- true
+ false
elsif ! (::ActiveRecord::VERSION::MAJOR == 2 and ::ActiveRecord::VERSION::MINOR >= 1)
Puppet.info "ActiveRecord 2.1 or later required for StoreConfigs"
false
--
1.6.2.2
--
Stéphan Gorget
Stéphan Gorget a écrit :