Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
puppet-shorewall
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chris
puppet-shorewall
Commits
ceb57f6a
Commit
ceb57f6a
authored
Nov 25, 2012
by
varac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add rtrules
parent
911cc18e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
0 deletions
+23
-0
files/boilerplate/rtrules.footer
files/boilerplate/rtrules.footer
+1
-0
files/boilerplate/rtrules.header
files/boilerplate/rtrules.header
+8
-0
manifests/base.pp
manifests/base.pp
+1
-0
manifests/init.pp
manifests/init.pp
+2
-0
manifests/rtrules.pp
manifests/rtrules.pp
+11
-0
No files found.
files/boilerplate/rtrules.footer
0 → 100644
View file @
ceb57f6a
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE
files/boilerplate/rtrules.header
0 → 100644
View file @
ceb57f6a
#
# Shorewall version 4 - route rules File
#
# For information about entries in this file, type "man shorewall-rtrules"
#
# For additional information, see http://www.shorewall.net/MultiISP.html
####################################################################################
# SOURCE DEST PROVIDER PRIORITY MASK
manifests/base.pp
View file @
ceb57f6a
...
...
@@ -42,6 +42,7 @@ class shorewall::base {
File
[
"/var/lib/puppet/modules/shorewall/tcdevices"
],
File
[
"/var/lib/puppet/modules/shorewall/tcrules"
],
File
[
"/var/lib/puppet/modules/shorewall/tcclasses"
],
File
[
"/var/lib/puppet/modules/shorewall/rtrules"
],
],
require
=>
Package
[
shorewall
],
}
...
...
manifests/init.pp
View file @
ceb57f6a
...
...
@@ -72,4 +72,6 @@ class shorewall {
# See http://www.shorewall.net/3.0/traffic_shaping.htm
shorewall::managed_file
{
tcclasses
:
}
shorewall::managed_file
{
rtrules
:
}
}
manifests/rtrules.pp
0 → 100644
View file @
ceb57f6a
define
shorewall::rtrules
(
$source
=
'-'
,
$destination
=
'-'
,
$provider
,
$priority
,
$mark
,
){
shorewall::entry
{
"rtrules.d/
${mark}
-
${title}
"
:
line
=>
"#
${name}
\n
${source}
${destination}
${provider}
${priority}
${mark}
"
,
}
}
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