aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-07-17 14:53:44 +0000
committermh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-07-17 14:53:44 +0000
commitc3e6cc836b600a56fec2593fd1599be7ec20829b (patch)
treeb778515e49ea78d783ad580a9c7908650c5c704f /manifests
parent2a0a2c3197eee247b7015ba979a12bd5eb0efa5c (diff)
downloadpuppet-shorewall-c3e6cc836b600a56fec2593fd1599be7ec20829b.tar.gz
puppet-shorewall-c3e6cc836b600a56fec2593fd1599be7ec20829b.tar.bz2
added debian default, to enable the shorewall
git-svn-id: https://svn/ipuppet/trunk/modules/shorewall@1870 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 7363628..7c2381d 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -25,6 +25,7 @@ class shorewall {
case $operatingsystem {
gentoo: { include shorewall::gentoo }
+ debian: { include shorewall::debian }
default: { include shorewall::base }
}
@@ -255,3 +256,12 @@ class shorewall::gentoo inherits shorewall::base {
category => 'net-firewall',
}
}
+
+class shorewall::debian inherits shorewall::base {
+ file{'/etc/default/shorewall':
+ source => "puppet://$server/shorewall/debian/default",
+ require => Package['shorewall'],
+ notify => Service['shorewall'],
+ owner => root, group => 0, mode => 0644;
+ }
+}