Commit d98823a7 authored by Micah Anderson's avatar Micah Anderson

update extension-script to use a simple file resource, instead of doing a...

update extension-script to use a simple file resource, instead of doing a managed file since it is never a fragement
parent c3629ee7
......@@ -2,9 +2,8 @@
define shorewall::extension_script($script = '') {
case $name {
'init', 'initdone', 'start', 'started', 'stop', 'stopped', 'clear', 'refresh', 'continue', 'maclog': {
shorewall::managed_file { "${name}": }
shorewall::entry { "extension_script-${order}-${name}":
line => "${script}\n";
file { "/etc/shorewall/puppet/${name}":
content => "${script}\n";
}
}
'', default: {
......
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