aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/firewall.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-18 16:06:28 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-18 16:06:28 -0200
commit9c3fd09a82b5d89605b0eb3730c5f5223af81f7b (patch)
tree59c089703749074e06fd370664bf3d42fe33a4bb /manifests/subsystems/firewall.pp
parent342a4d2f1432a952c2e8648de421bb0ebea20120 (diff)
downloadpuppet-nodo-9c3fd09a82b5d89605b0eb3730c5f5223af81f7b.tar.gz
puppet-nodo-9c3fd09a82b5d89605b0eb3730c5f5223af81f7b.tar.bz2
Changing order parameter to integer at shorewall rules
Diffstat (limited to 'manifests/subsystems/firewall.pp')
-rw-r--r--manifests/subsystems/firewall.pp20
1 files changed, 10 insertions, 10 deletions
diff --git a/manifests/subsystems/firewall.pp b/manifests/subsystems/firewall.pp
index 7547ea9..949a81d 100644
--- a/manifests/subsystems/firewall.pp
+++ b/manifests/subsystems/firewall.pp
@@ -23,35 +23,35 @@ class firewall {
sourcezone => 'vm',
destinationzone => 'net',
policy => 'ACCEPT',
- order => '1',
+ order => 1,
}
shorewall::policy { 'fw-net':
sourcezone => '$FW',
destinationzone => 'net',
policy => 'ACCEPT',
- order => '2',
+ order => 2,
}
shorewall::policy { 'fw-vm':
sourcezone => '$FW',
destinationzone => 'vm',
policy => 'ACCEPT',
- order => '3',
+ order => 3,
}
shorewall::policy { 'net-all':
sourcezone => 'net',
destinationzone => 'all',
policy => 'DROP',
- order => '4',
+ order => 4,
}
shorewall::policy { 'all-all':
sourcezone => 'all',
destinationzone => 'all',
policy => 'REJECT',
- order => '90',
+ order => 90,
}
#
@@ -87,7 +87,7 @@ class firewall {
proto => '-',
destinationport => '-',
ratelimit => '-',
- order => '100',
+ order => 100,
}
shorewall::rule { 'ping':
@@ -97,7 +97,7 @@ class firewall {
proto => '-',
destinationport => '-',
ratelimit => '-',
- order => '101',
+ order => 101,
}
shorewall::rule { 'http':
@@ -107,7 +107,7 @@ class firewall {
proto => '-',
destinationport => '-',
ratelimit => '-',
- order => '102',
+ order => 102,
}
shorewall::rule { 'https':
@@ -117,7 +117,7 @@ class firewall {
proto => '-',
destinationport => '-',
ratelimit => "$firewall_ssl_ratelimit",
- order => '103',
+ order => 103,
}
$munin_port = $node_munin_port ? {
@@ -132,7 +132,7 @@ class firewall {
proto => 'tcp',
destinationport => "$munin_port",
ratelimit => '-',
- order => "104",
+ order => 104,
}
#