From f86a344c8eedc3e1b13ef4359ded97a978000853 Mon Sep 17 00:00:00 2001 From: mh Date: Sun, 9 Mar 2008 13:56:02 +0000 Subject: default index location for all --- manifests/init.pp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'manifests') 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', + } } -- cgit v1.2.3