]> gitweb.fluxo.info Git - puppet-shorewall.git/commitdiff
ging noch nicht, weitere tests
authoram <am@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>
Wed, 7 Nov 2007 08:11:46 +0000 (08:11 +0000)
committeram <am@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>
Wed, 7 Nov 2007 08:11:46 +0000 (08:11 +0000)
git-svn-id: https://svn/ipuppet/trunk/modules/shorewall@43 d66ca3ae-40d7-4aa7-90d4-87d79ca94279

manifests/init.pp

index ba87bcad3f8ce8f743839c0ef531f8d01a901066..7139c49f9504b149a9aa841c20d360152df1711f 100644 (file)
@@ -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, }