/[adm]/puppet/modules/shorewall/manifests/init.pp
ViewVC logotype

Diff of /puppet/modules/shorewall/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 250 by boklm, Fri Nov 12 20:57:58 2010 UTC revision 251 by boklm, Fri Nov 12 22:29:49 2010 UTC
# Line 28  class shorewall { Line 28  class shorewall {
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,
# Line 55  class shorewall { Line 55  class shorewall {
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,
# Line 75  class shorewall { Line 75  class shorewall {
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,

Legend:
Removed from v.250  
changed lines
  Added in v.251

  ViewVC Help
Powered by ViewVC 1.1.30