From f9f058de23d7ce718630de4f86cca945ac199f34 Mon Sep 17 00:00:00 2001 From: Sharif Nassar Date: Tue, 6 Aug 2013 14:18:25 -0700 Subject: [PATCH] 22090 - Use list of RedHat OSes from newer facter. --- lib/puppet/util/firewall.rb | 2 +- manifests/linux.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/puppet/util/firewall.rb b/lib/puppet/util/firewall.rb index 99b9c57..13c1a89 100644 --- a/lib/puppet/util/firewall.rb +++ b/lib/puppet/util/firewall.rb @@ -136,7 +136,7 @@ module Puppet::Util::Firewall # Basic normalisation for older Facter os_key = Facter.value(:osfamily) os_key ||= case Facter.value(:operatingsystem) - when 'RedHat', 'CentOS', 'Fedora', 'SL', 'SLC' + when 'RedHat', 'CentOS', 'Fedora', 'Scientific', 'SL', 'SLC', 'Ascendos', 'CloudLinux', 'PSBM', 'OracleLinux', 'OVS', 'OEL', 'Amazon', 'XenServer' 'RedHat' when 'Debian', 'Ubuntu' 'Debian' diff --git a/manifests/linux.pp b/manifests/linux.pp index f8178f2..0e77456 100644 --- a/manifests/linux.pp +++ b/manifests/linux.pp @@ -24,7 +24,7 @@ class firewall::linux ( } case $::operatingsystem { - 'RedHat', 'CentOS', 'Fedora', 'SL', 'SLC': { + 'RedHat', 'CentOS', 'Fedora', 'Scientific', 'SL', 'SLC', 'Ascendos', 'CloudLinux', 'PSBM', 'OracleLinux', 'OVS', 'OEL', 'Amazon', 'XenServer': { class { "${title}::redhat": ensure => $ensure, enable => $enable, -- 2.45.2