diff options
author | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2017-11-22 17:01:00 -0500 |
---|---|---|
committer | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2017-11-22 17:01:00 -0500 |
commit | 851c51659961724a1457e3de1bbe9591390b1e82 (patch) | |
tree | 7838b08057ec3b807b102377e4f6f1acaf54382d | |
parent | 837fd3f29f09727d5a20514d7549837b8d8b4997 (diff) |
Don't pass $ensure parameter to concat::fragment
It has been removed in the latest version of puppetlabs-concat
-rw-r--r-- | manifests/entry.pp | 2 | ||||
-rw-r--r-- | manifests/rule.pp | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/manifests/entry.pp b/manifests/entry.pp index c8fffc7..ab61351 100644 --- a/manifests/entry.pp +++ b/manifests/entry.pp @@ -1,10 +1,8 @@ define shorewall::entry( - $ensure = present, $line ){ $parts = split($name,'-') concat::fragment{$name: - ensure => $ensure, content => "${line}\n", order => $parts[1], target => "/etc/shorewall/puppet/${parts[0]}", diff --git a/manifests/rule.pp b/manifests/rule.pp index 2fe91e2..b80c584 100644 --- a/manifests/rule.pp +++ b/manifests/rule.pp @@ -1,6 +1,5 @@ # mark is new in 3.4.4 define shorewall::rule( - $ensure = present, $action, $source, $destination, @@ -14,7 +13,6 @@ define shorewall::rule( $order ){ shorewall::entry{"rules-${order}-${name}": - ensure => $ensure, line => "# ${name}\n${action} ${source} ${destination} ${proto} ${destinationport} ${sourceport} ${originaldest} ${ratelimit} ${user} ${mark}", } } |