From c3e6cc836b600a56fec2593fd1599be7ec20829b Mon Sep 17 00:00:00 2001 From: mh Date: Thu, 17 Jul 2008 14:53:44 +0000 Subject: added debian default, to enable the shorewall git-svn-id: https://svn/ipuppet/trunk/modules/shorewall@1870 d66ca3ae-40d7-4aa7-90d4-87d79ca94279 --- manifests/init.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'manifests') 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; + } +} -- cgit v1.2.3