summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-03-09 13:56:02 +0000
committermh <mh@immerda.ch>2008-03-09 13:56:02 +0000
commitf86a344c8eedc3e1b13ef4359ded97a978000853 (patch)
treeb33195556099578b94c59c4f6fc85277c89596cf /manifests
parent5a214b0316b504a618ed1df438c7b8628d9ab86f (diff)
default index location for all
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index ef7a04a..b23d221 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -94,6 +94,9 @@ class apache::debian inherits apache::base {
file {"vhosts_dir":
ensure => '/etc/apache2/sites-enabled/',
}
+ File[default_apache_index] {
+ path => '/var/www/index.html',
+ }
}
# ubuntu is similar to debian therefor inheritng from there
class apache::ubuntu inherits apache::debian {}
@@ -102,6 +105,9 @@ class apache::openbsd inherits apache::base {
File[vhosts_dir]{
path => "$config_dir/vhosts.d/",
}
+ File[default_apache_index] {
+ path => '/var/www/htdocs/index.html',
+ }
}