diff options
| author | James Turnbull <james@lovedthanlost.net> | 2011-03-11 11:51:43 +1100 |
|---|---|---|
| committer | James Turnbull <james@lovedthanlost.net> | 2011-03-11 11:51:43 +1100 |
| commit | d718af449fc30585fcc672861077ec9045a4ef03 (patch) | |
| tree | 4cceaed252736628f219fed28afc2b56a4da543a /lib | |
| parent | 469d2a26a467c50af9f9732d7f98e8a01ecc369f (diff) | |
| download | facter-d718af449fc30585fcc672861077ec9045a4ef03.tar.gz facter-d718af449fc30585fcc672861077ec9045a4ef03.tar.xz facter-d718af449fc30585fcc672861077ec9045a4ef03.zip | |
Fix #6679 - Added Scientific Linux to operatingsystem fact
Thanks to James Goddard for the patch
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/facter/operatingsystem.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/facter/operatingsystem.rb b/lib/facter/operatingsystem.rb index c5a3dc1..bda8ba3 100644 --- a/lib/facter/operatingsystem.rb +++ b/lib/facter/operatingsystem.rb @@ -36,6 +36,8 @@ Facter.add(:operatingsystem) do txt = File.read("/etc/redhat-release") if txt =~ /centos/i "CentOS" + elsif txt =~ /scientific/i + "Scientific" else "RedHat" end |
