diff options
author | duritong <peter.meier+github@immerda.ch> | 2016-08-03 00:55:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-03 00:55:47 +0200 |
commit | 6d78d6c7b5c7617077260c94d7158b61f430494e (patch) | |
tree | 05a44f1ae387a2cdee74a11d91af1b4826597292 /manifests/rule_section.pp | |
parent | eaba8159fcfc38dbc72e2476e753b05ea7554d55 (diff) | |
parent | 3b623df1f88adf2a177829dacae822dec2c3c7d0 (diff) |
Merge pull request #5 from abraham1901/master
* Add shorewall-blrules support
Diffstat (limited to 'manifests/rule_section.pp')
-rw-r--r-- | manifests/rule_section.pp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/rule_section.pp b/manifests/rule_section.pp index 82984ca..3f2ecc5 100644 --- a/manifests/rule_section.pp +++ b/manifests/rule_section.pp @@ -1,7 +1,11 @@ define shorewall::rule_section( $order ){ + $rule_section_prefix = $shorewall_major_version ? { + '5' => '?' + } + shorewall::entry{"rules-${order}-${name}": - line => "SECTION ${name}", + line => "${rule_section_prefix}SECTION ${name}", } } |