From: cdenneen Date: Thu, 4 Sep 2014 02:42:19 +0000 (-0400) Subject: Update redhat.pp X-Git-Tag: 1.2.0~1^2~2^2~1 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=653bb022b46a10ff7cccb280d1c14c1f3a9eb7c8;p=puppet-modules%2Fpuppetlabs-firewall.git Update redhat.pp --- diff --git a/manifests/linux/redhat.pp b/manifests/linux/redhat.pp index 6fdc694..b7a4d0e 100644 --- a/manifests/linux/redhat.pp +++ b/manifests/linux/redhat.pp @@ -20,7 +20,7 @@ class firewall::linux::redhat ( # RHEL 7 and later and Fedora 15 and later require the iptables-services # package, which provides the /usr/libexec/iptables/iptables.init used by # lib/puppet/util/firewall.rb. - if ($::operatingsystem != 'Fedora' and versioncmp($::operatingsystemmajrelease, '7') >= 0) + if ($::operatingsystem != 'Fedora' and versioncmp($::operatingsystemrelease, '7.0') >= 0) or ($::operatingsystem == 'Fedora' and versioncmp($::operatingsystemrelease, '15') >= 0) { package { 'firewalld': ensure => absent,