summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-02-24 17:46:49 +0000
committermh <mh@immerda.ch>2008-02-24 17:46:49 +0000
commit2538f0f1eceaf4cf74e6245b3bcfd5ecee4d6f46 (patch)
tree17d6a20d1a063c52b9a20b740651e31b49cd3b2b /manifests
parenta19102e79f0ae5ce192b91968c7fdbbb0d4641d8 (diff)
fixed some distro specific stuff and corrected config_dir
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp11
1 files changed, 2 insertions, 9 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index caab18c..8c12522 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -54,18 +54,11 @@ class apache::centos inherits apache::base{
File[default_apache_index]{
path => '/var/www/html/index.html',
}
- $config_dir = '/etc/apache2/vhosts.d/'
- file {$config_dir:
- ensure => directory,
- owner => root,
- group => 0,
- mode => 750,
- require => Package[apache]
- }
+ $config_dir = '/etc/httpd/'
}
class apache::gentoo inherits apache::base {
- $config_dir = '/etc/apache2/vhosts.d/'
+ $config_dir = '/etc/apache2/'
Package[apache]{
category => 'www-servers',
}