summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp13
1 files changed, 12 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 675aff8..0e2f9fb 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -2,6 +2,8 @@
# denyhosts module
# Puzzle ITC - haerry+puppet(at)puzzle.ch
# GPLv3
+# adapated by immerda project group
+# admin+puppet(at)immerda.ch
# this module is used to configure the
# denyhosts script.
#######################################
@@ -9,7 +11,10 @@
# modules_dir { "denyhosts": }
class denyhosts {
- include denyhosts::base
+ case $operatingsystem {
+ gentoo: { include denyhosts::gentoo }
+ default: { include denyhosts::base }
+ }
}
class denyhosts::base {
@@ -40,3 +45,9 @@ class denyhosts::base {
mode => 0600, owner => root, group => 0;
}
}
+
+class denyhosts::gentoo inherits denyhosts::base {
+ Package[denyhosts]{
+ category => 'app-admin',
+ }
+}