28 |
shorewallfile{ rules: } |
shorewallfile{ rules: } |
29 |
define rule_line($order = 50) { |
define rule_line($order = 50) { |
30 |
$filename = "/tmp/shorewall/rules" |
$filename = "/tmp/shorewall/rules" |
31 |
$line = $name |
$line = "${name}\n" |
32 |
concat::fragment{"newline_${name}": |
concat::fragment{"newline_${name}": |
33 |
target => $filename, |
target => $filename, |
34 |
order => $order, |
order => $order, |
55 |
shorewallfile{ zones: } |
shorewallfile{ zones: } |
56 |
define zone_line($order = 50) { |
define zone_line($order = 50) { |
57 |
$filename = "/tmp/shorewall/zones" |
$filename = "/tmp/shorewall/zones" |
58 |
$line = $name |
$line = "${name}\n" |
59 |
concat::fragment{"newline_${name}": |
concat::fragment{"newline_${name}": |
60 |
target => $filename, |
target => $filename, |
61 |
order => $order, |
order => $order, |
75 |
shorewallfile{ policy: } |
shorewallfile{ policy: } |
76 |
define policy_line($order = 50) { |
define policy_line($order = 50) { |
77 |
$filename = "/tmp/shorewall/policy" |
$filename = "/tmp/shorewall/policy" |
78 |
$line = $name |
$line = "${name}\n" |
79 |
concat::fragment{"newline_${name}": |
concat::fragment{"newline_${name}": |
80 |
target => $filename, |
target => $filename, |
81 |
order => $order, |
order => $order, |