From 4f910c1c22abfa9d2088aa0028523cfdec29f815 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 30 Aug 2011 10:32:50 -0300 Subject: Make sure that a top level index exists for websites --- manifests/subsystems/websites.pp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'manifests/subsystems') diff --git a/manifests/subsystems/websites.pp b/manifests/subsystems/websites.pp index 1ca0ecb..cf9d5ec 100644 --- a/manifests/subsystems/websites.pp +++ b/manifests/subsystems/websites.pp @@ -60,6 +60,11 @@ class websites::setup { "puppet:///modules/nodo/htdocs/missing.html", ] } + # Make sure that a top level index exists + file { "/var/www/index.html": + ensure => present, + } + # Default vhost: can just be applied on the defining host apache::site { "$default_vhost": server_alias => "$domain", -- cgit v1.2.3