summaryrefslogtreecommitdiff
path: root/manifests/centos.pp
diff options
context:
space:
mode:
authorMicah <micah@riseup.net>2015-12-09 14:41:31 +0000
committerMicah <micah@riseup.net>2015-12-09 14:41:31 +0000
commitedd5db0159d5075609c545fb3ee10727a1cf5271 (patch)
treed6a923dd8aaeed28210272c1895d9f23d8b250d3 /manifests/centos.pp
parent1cfb479d642bc106ea71596a49b3c152dcb2f64f (diff)
parent6bca4007a104cc7f1736613679b171f19a706685 (diff)
Merge branch 'immerda_changes' into 'master'
Immerda changes See merge request !5
Diffstat (limited to 'manifests/centos.pp')
-rw-r--r--manifests/centos.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/centos.pp b/manifests/centos.pp
index f671bc9..1f8b37d 100644
--- a/manifests/centos.pp
+++ b/manifests/centos.pp
@@ -1,13 +1,13 @@
# things needed on centos
class shorewall::centos inherits shorewall::base {
- if $::lsbmajdistrelease > 5 {
+ if versioncmp($::operatingsystemmajrelease,'5') > 0 {
augeas{'enable_shorewall':
context => '/files/etc/sysconfig/shorewall',
changes => 'set startup 1',
lens => 'Shellvars.lns',
incl => '/etc/sysconfig/shorewall',
require => Package['shorewall'],
- notify => Service['shorewall'],
+ notify => Exec['shorewall_check'],
}
}
}