diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/feature/rails.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/feature/rails.rb b/lib/puppet/feature/rails.rb index 597b0288c..d70be5137 100644 --- a/lib/puppet/feature/rails.rb +++ b/lib/puppet/feature/rails.rb @@ -9,7 +9,7 @@ Puppet.features.add(:rails) do begin require 'active_record' rescue LoadError => detail - if Facter["operatingsystem"].value == "Debian" and FileTest.exists?("/usr/share/rails") + if FileTest.exists?("/usr/share/rails") count = 0 Dir.entries("/usr/share/rails").each do |dir| libdir = File.join("/usr/share/rails", dir, "lib") |