diff options
author | mh <mh@immerda.ch> | 2008-03-23 15:41:54 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-03-23 15:41:54 +0000 |
commit | d1990ce934642ba3965b12d3ec9092a7fae65a80 (patch) | |
tree | e6ae2afefc3a75dc9f5b8ab896bbcfcb7b503df9 /manifests/modules/mod_perl.pp | |
parent | 9c312eeac5f9937f0b2ec196f0a401be4d49335a (diff) |
added mod_perl, as well added mod_sec to the webhosting
Diffstat (limited to 'manifests/modules/mod_perl.pp')
-rw-r--r-- | manifests/modules/mod_perl.pp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/manifests/modules/mod_perl.pp b/manifests/modules/mod_perl.pp new file mode 100644 index 0000000..18559cb --- /dev/null +++ b/manifests/modules/mod_perl.pp @@ -0,0 +1,25 @@ +# modules/apache/manifests/modules/mod_perl.pp +# 2008 - admin(at)immerda.ch +# License: GPLv3 + +class apache::mod_perl { + case $operatingsystem { + gentoo: { include apache::mod_perl::gentoo } + default: { include apache::mod_perl::base } + } +} + +class apache::mod_perl::base { + package{mod_perl: + ensure => installed, + notify => Service[apache], + } +} + +class apache::mod_perl::gentoo inherits apache::mod_perl::base { + Package[mod_perl]{ + category => 'www-apache', + } +} + + |