summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-05-17 11:40:01 +0000
committermh <mh@immerda.ch>2008-05-17 11:40:01 +0000
commit5936e03e5aa50d7f78b9fb98c8e8687dfe815a23 (patch)
tree4c5b506abe13c5173a3913df8cf403917c3e0906
parentd29211878dbe134da1797beed337eb6f63a675ac (diff)
added gentoo specific stuff
-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',
+ }
+}