From: mh Date: Thu, 28 Feb 2013 18:45:41 +0000 (+0100) Subject: use the centos class on centos based systems X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=315060cd357d6dffbb32e44ca1eb02ce3711608a;p=puppet-shorewall.git use the centos class on centos based systems --- diff --git a/manifests/centos.pp b/manifests/centos.pp index b7fc24a..95b7759 100644 --- a/manifests/centos.pp +++ b/manifests/centos.pp @@ -1,6 +1,6 @@ # things needed on centos class shorewall::centos inherits shorewall::base { - if $::operatingsystemmajrelease == '6' { + if versioncmp($::operatingsystemmajrelease,'5') > 0 { augeas{'enable_shorewall': context => '/files/etc/sysconfig/shorewall', changes => 'set startup 1',