summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2009-06-12 23:19:55 +1000
committerJames Turnbull <james@lovedthanlost.net>2009-06-13 00:38:27 +1000
commitb9e632f4e1b8cec9720ed0bb80caf2bab74209d6 (patch)
treec33ea4cc01d0bf224e0b3dd1ef94ac305e7c536e /lib
parentd3323331e96cbc79563febc249e106a3ae8e7647 (diff)
downloadpuppet-b9e632f4e1b8cec9720ed0bb80caf2bab74209d6.tar.gz
puppet-b9e632f4e1b8cec9720ed0bb80caf2bab74209d6.tar.xz
puppet-b9e632f4e1b8cec9720ed0bb80caf2bab74209d6.zip
Fixed #2102 - Rails feature update fixed for Debian and Ubuntu
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/feature/rails.rb2
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")