Commit c3629ee7 authored by Micah Anderson's avatar Micah Anderson

update additions to concat module that were not in immerda branch

parent 2ebf9988
......@@ -3,7 +3,7 @@ define shorewall::extension_script($script = '') {
case $name {
'init', 'initdone', 'start', 'started', 'stop', 'stopped', 'clear', 'refresh', 'continue', 'maclog': {
shorewall::managed_file { "${name}": }
shorewall::entry { "${name}.d/500-${hostname}":
shorewall::entry { "extension_script-${order}-${name}":
line => "${script}\n";
}
}
......
......@@ -6,7 +6,7 @@ define shorewall::tcclasses(
$options = '',
$order = '1'
){
shorewall::entry { "tcclasses.d/${order}-${title}":
shorewall::entry { "tcclasses-${order}-${name}":
line => "# ${name}\n${interface} ${order} ${rate} ${ceil} ${priority} ${options}",
}
}
......@@ -5,7 +5,7 @@ define shorewall::tcdevices(
$redirected_interfaces = '',
$order = '100'
){
shorewall::entry { "tcdevices.d/${order}-${title}":
shorewall::entry { "tcdevices-${order}-${name}":
line => "${name} ${in_bandwidth} ${out_bandwidth} ${options} ${redirected_interfaces}",
}
}
......@@ -6,7 +6,7 @@ define shorewall::tcrules(
$client_ports = '',
$order = '1'
){
shorewall::entry { "tcrules.d/${order}-${title}":
shorewall::entry { "tcrules-${order}-${name}":
line => "# ${name}\n${order} ${source} ${destination} ${protocol} ${ports} ${client_ports}",
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment