From: Silvio Rhatto Date: Tue, 30 Aug 2011 13:32:50 +0000 (-0300) Subject: Make sure that a top level index exists for websites X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=4f910c1c22abfa9d2088aa0028523cfdec29f815;p=puppet-nodo.git Make sure that a top level index exists for websites --- 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",