summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérôme Charaoui <jcharaoui@cmaisonneuve.qc.ca>2018-01-09 21:47:28 +0000
committerJérôme Charaoui <jcharaoui@cmaisonneuve.qc.ca>2018-01-09 21:47:28 +0000
commitaab96cce16438a419f72155c7bfcfcca66d77b45 (patch)
tree735834841999afc86550db4fd2239df8a177bebc
parent837fd3f29f09727d5a20514d7549837b8d8b4997 (diff)
parent532d79cba8f01cfc3bcd16ae83741aac08bab80f (diff)
Merge branch 'concat_update' into 'master'
Concat update See merge request shared-puppet-modules-group/shorewall!11
-rw-r--r--manifests/entry.pp2
-rw-r--r--manifests/rule.pp2
-rw-r--r--manifests/rules/gitdaemon/absent.pp5
-rw-r--r--manifests/rules/out/ssh/remove.pp5
4 files changed, 0 insertions, 14 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}",
}
}
diff --git a/manifests/rules/gitdaemon/absent.pp b/manifests/rules/gitdaemon/absent.pp
deleted file mode 100644
index ade6fba..0000000
--- a/manifests/rules/gitdaemon/absent.pp
+++ /dev/null
@@ -1,5 +0,0 @@
-class shorewall::rules::gitdaemon::absent inherits shorewall::rules::gitdaemon {
- Shorewall::Rule['net-me-tcp_gitdaemon']{
- ensure => absent,
- }
-}
diff --git a/manifests/rules/out/ssh/remove.pp b/manifests/rules/out/ssh/remove.pp
deleted file mode 100644
index bc0acf3..0000000
--- a/manifests/rules/out/ssh/remove.pp
+++ /dev/null
@@ -1,5 +0,0 @@
-class shorewall::rules::out::ssh::remove inherits shorewall::rules::out::ssh {
- Shorewall::Rule['me-net-tcp_ssh']{
- ensure => absent,
- }
-}