diff options
author | mh <mh@immerda.ch> | 2008-05-17 11:40:01 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-05-17 11:40:01 +0000 |
commit | 5936e03e5aa50d7f78b9fb98c8e8687dfe815a23 (patch) | |
tree | 4c5b506abe13c5173a3913df8cf403917c3e0906 /manifests | |
parent | d29211878dbe134da1797beed337eb6f63a675ac (diff) |
added gentoo specific stuff
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 13 |
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', + } +} |