Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
chris
puppet-shorewall
Commits
3f8c34e6
Commit
3f8c34e6
authored
Jun 20, 2012
by
Micah Anderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes in extension scripts should notify shorewall for a restart
parent
d98823a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
manifests/extension_script.pp
manifests/extension_script.pp
+2
-1
No files found.
manifests/extension_script.pp
View file @
3f8c34e6
...
...
@@ -3,7 +3,8 @@ define shorewall::extension_script($script = '') {
case
$name
{
'init'
,
'initdone'
,
'start'
,
'started'
,
'stop'
,
'stopped'
,
'clear'
,
'refresh'
,
'continue'
,
'maclog'
:
{
file
{
"/etc/shorewall/puppet/
${name}
"
:
content
=>
"
${script}
\n
"
;
content
=>
"
${script}
\n
"
,
notify
=>
Service
[
shorewall
];
}
}
''
,
default
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment