diff options
-rw-r--r-- | manifests/base/itk.pp | 4 | ||||
-rw-r--r-- | manifests/centos/itk.pp | 1 | ||||
-rw-r--r-- | manifests/package/itk.pp | 5 |
3 files changed, 6 insertions, 4 deletions
diff --git a/manifests/base/itk.pp b/manifests/base/itk.pp index 8a25bc5..7772bfd 100644 --- a/manifests/base/itk.pp +++ b/manifests/base/itk.pp @@ -1,8 +1,4 @@ class apache::base::itk inherits apache::base { - Package['apache'] { - name => 'apache2-itk', - } - File['htpasswd_dir']{ group => 0, mode => 0644, diff --git a/manifests/centos/itk.pp b/manifests/centos/itk.pp index 8b55110..c2f07e0 100644 --- a/manifests/centos/itk.pp +++ b/manifests/centos/itk.pp @@ -1,6 +1,7 @@ # http://hostby.net/home/2008/07/12/centos-5-and-mpm-itk/ class apache::centos::itk inherits apache::centos { include ::apache::base::itk + include ::apache::package::itk Package['apache']{ name => 'httpd-itk', } diff --git a/manifests/package/itk.pp b/manifests/package/itk.pp new file mode 100644 index 0000000..4ca9960 --- /dev/null +++ b/manifests/package/itk.pp @@ -0,0 +1,5 @@ +class apache::package::itk inherits apache::package { + Package['apache'] { + name => 'apache2-itk', + } +} |