From 2e1250278283e039cae9a37f3cdfa8dd16791f5f Mon Sep 17 00:00:00 2001 From: mh Date: Sat, 25 Jun 2016 15:09:14 +0200 Subject: this is only needed on EL6 --- manifests/centos.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests/centos.pp') diff --git a/manifests/centos.pp b/manifests/centos.pp index 1f8b37d..ff8c6ad 100644 --- a/manifests/centos.pp +++ b/manifests/centos.pp @@ -1,6 +1,6 @@ # things needed on centos class shorewall::centos inherits shorewall::base { - if versioncmp($::operatingsystemmajrelease,'5') > 0 { + if $::operatingsystemmajrelease == '6' { augeas{'enable_shorewall': context => '/files/etc/sysconfig/shorewall', changes => 'set startup 1', -- cgit v1.2.3 From 80aa7d6546d122ccba0b2acc8befa3f20bd08ffd Mon Sep 17 00:00:00 2001 From: mh Date: Mon, 1 May 2017 17:33:25 +0200 Subject: add missing package for EL6 --- manifests/centos.pp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'manifests/centos.pp') diff --git a/manifests/centos.pp b/manifests/centos.pp index ff8c6ad..09f34e7 100644 --- a/manifests/centos.pp +++ b/manifests/centos.pp @@ -9,5 +9,11 @@ class shorewall::centos inherits shorewall::base { require => Package['shorewall'], notify => Exec['shorewall_check'], } + if $shorewall::with_shorewall6 { + package{'perl-Socket6': + ensure => 'installed', + before => Package['shorewall6'], + } + } } } -- cgit v1.2.3