diff options
author | mh <mh@immerda.ch> | 2013-02-28 19:45:41 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2015-12-05 11:30:41 +0100 |
commit | 315060cd357d6dffbb32e44ca1eb02ce3711608a (patch) | |
tree | 7854776409cf73051fb11131f7af0d1aed1ffb3a | |
parent | 6394b517154c6b6cab4f73c9d0baff4c1f7bcf55 (diff) | |
download | puppet-shorewall-315060cd357d6dffbb32e44ca1eb02ce3711608a.tar.gz puppet-shorewall-315060cd357d6dffbb32e44ca1eb02ce3711608a.tar.bz2 |
use the centos class on centos based systems
-rw-r--r-- | manifests/centos.pp | 2 |
1 files changed, 1 insertions, 1 deletions
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', |