aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authoram <am@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2007-11-07 08:11:46 +0000
committeram <am@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2007-11-07 08:11:46 +0000
commitc82401ee2b65f971e5d0a639e7fe9050a77a32ab (patch)
tree9a9de75530a0db79d4a4f39ebd0f7931bb264943 /manifests/init.pp
parentc4b5c1df7473102f83832aba19578c7a28a53d05 (diff)
downloadpuppet-shorewall-c82401ee2b65f971e5d0a639e7fe9050a77a32ab.tar.gz
puppet-shorewall-c82401ee2b65f971e5d0a639e7fe9050a77a32ab.tar.bz2
ging noch nicht, weitere tests
git-svn-id: https://svn/ipuppet/trunk/modules/shorewall@43 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp9
1 files changed, 8 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index ba87bca..7139c49 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -20,7 +20,14 @@ modules_dir { "shorewall": }
class shorewall {
- package { shorewall: ensure => installed }
+ package { 'shorewall':
+ ensure => present,
+ category => $operatingsystem ? {
+ gentoo => 'net-firewall',
+ default => '',
+ },
+ }
+
service { shorewall: ensure => running, enable => true, }