Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chris
puppet-shorewall
Commits
66245069
Commit
66245069
authored
Feb 28, 2013
by
mh
Committed by
Micah Anderson
Mar 23, 2013
Browse files
use the centos class on centos based systems
parent
3e04a43f
Changes
2
Hide whitespace changes
Inline
Side-by-side
manifests/centos.pp
View file @
66245069
# things needed on centos
class
shorewall::centos
inherits
shorewall::base
{
if
$::lsbmajdistrelease
==
'6'
{
if
$::lsbmajdistrelease
>
5
{
augeas
{
'enable_shorewall'
:
context
=>
'/files/etc/sysconfig/shorewall'
,
changes
=>
'set startup 1'
,
...
...
manifests/init.pp
View file @
66245069
...
...
@@ -16,7 +16,7 @@ class shorewall(
include
shorewall::debian
$dist_tor_user
=
'debian-tor'
}
centos
:
{
include
shorewall::
base
}
centos
:
{
include
shorewall::
centos
}
ubuntu
:
{
case
$::lsbdistcodename
{
karmic
:
{
include
shorewall::ubuntu::karmic
}
...
...
@@ -24,7 +24,7 @@ class shorewall(
}
}
default
:
{
notice
"unknown operatingsystem:
${::operatingsystem}
"
notice
"unknown operatingsystem:
${::operatingsystem}
"
include
shorewall::base
}
}
...
...
@@ -65,5 +65,5 @@ class shorewall(
shorewall::managed_file
{
tunnel
:
}
# See http://www.shorewall.net/MultiISP.html
shorewall::managed_file
{
rtrules
:
}
}
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