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
faf6fba9
Commit
faf6fba9
authored
Nov 25, 2012
by
varac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added provider
parent
8db3b2ad
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
0 deletions
+25
-0
files/boilerplate/providers.footer
files/boilerplate/providers.footer
+1
-0
files/boilerplate/providers.header
files/boilerplate/providers.header
+9
-0
manifests/base.pp
manifests/base.pp
+1
-0
manifests/init.pp
manifests/init.pp
+1
-0
manifests/providers.pp
manifests/providers.pp
+13
-0
No files found.
files/boilerplate/providers.footer
0 → 100644
View file @
faf6fba9
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE
files/boilerplate/providers.header
0 → 100644
View file @
faf6fba9
#
# Shorewall version 4 - Providers File
#
# For information about entries in this file, type "man shorewall-providers"
#
# For additional information, see http://shorewall.net/MultiISP.html
#
############################################################################################
#NAME NUMBER MARK DUPLICATE INTERFACE GATEWAY OPTIONS COPY
manifests/base.pp
View file @
faf6fba9
...
...
@@ -43,6 +43,7 @@ class shorewall::base {
File
[
"/var/lib/puppet/modules/shorewall/tcrules"
],
File
[
"/var/lib/puppet/modules/shorewall/tcclasses"
],
File
[
"/var/lib/puppet/modules/shorewall/rtrules"
],
File
[
"/var/lib/puppet/modules/shorewall/providers"
],
],
require
=>
Package
[
shorewall
],
}
...
...
manifests/init.pp
View file @
faf6fba9
...
...
@@ -73,5 +73,6 @@ class shorewall {
shorewall::managed_file
{
tcclasses
:
}
shorewall::managed_file
{
rtrules
:
}
shorewall::managed_file
{
providers
:
}
}
manifests/providers.pp
0 → 100644
View file @
faf6fba9
define
shorewall::providers
(
$number
,
$mark
,
$duplicate
=
'-'
,
$interface
,
$gateway
,
$options
=
'-'
,
$copy
=
''
,
){
shorewall::entry
{
"providers.d/
${mark}
-
${title}
"
:
line
=>
"
${name}
${number}
${mark}
${duplicate}
${interface}
${gateway}
${options}
${copy}
"
,
}
}
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