diff options
author | mh <mh@immerda.ch> | 2009-05-17 22:27:05 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2009-05-17 22:27:05 +0200 |
commit | fbb3cb7dcd8406f085e80f3f11fa873b55bd5073 (patch) | |
tree | a95d59498674420347e7c115569cc42407d85d82 /manifests/itk | |
parent | c4b3c53375ab001c5cb6407537d64ff3b2ec35cf (diff) |
extracted every define and class in it's own file
Diffstat (limited to 'manifests/itk')
-rw-r--r-- | manifests/itk/base.pp | 10 | ||||
-rw-r--r-- | manifests/itk/centos.pp | 13 |
2 files changed, 23 insertions, 0 deletions
diff --git a/manifests/itk/base.pp b/manifests/itk/base.pp new file mode 100644 index 0000000..8a25bc5 --- /dev/null +++ b/manifests/itk/base.pp @@ -0,0 +1,10 @@ +class apache::base::itk inherits apache::base { + Package['apache'] { + name => 'apache2-itk', + } + + File['htpasswd_dir']{ + group => 0, + mode => 0644, + } +} diff --git a/manifests/itk/centos.pp b/manifests/itk/centos.pp new file mode 100644 index 0000000..8b55110 --- /dev/null +++ b/manifests/itk/centos.pp @@ -0,0 +1,13 @@ +# http://hostby.net/home/2008/07/12/centos-5-and-mpm-itk/ +class apache::centos::itk inherits apache::centos { + include ::apache::base::itk + Package['apache']{ + name => 'httpd-itk', + } + File['/etc/sysconfig/httpd']{ + source => [ "puppet://$server/files/apache/sysconfig/${fqdn}/httpd.itk", + "puppet://$server/files/apache/sysconfig/httpd.itk", + "puppet://$server/apache/sysconfig/${operatingsystem}/httpd.itk", + "puppet://$server/apache/sysconfig/httpd.itk" ], + } +} |