aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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, }