From: Silvio Rhatto Date: Wed, 26 Jan 2011 15:35:44 +0000 (-0200) Subject: Images folder for error host X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=c03dfc8bf837847d29490c1fde196bcdf5acc9f1;p=puppet-nodo.git Images folder for error host --- diff --git a/manifests/subsystems/websites.pp b/manifests/subsystems/websites.pp index 034b2b7..6a89ae7 100644 --- a/manifests/subsystems/websites.pp +++ b/manifests/subsystems/websites.pp @@ -80,6 +80,15 @@ class websites::setup { require => File["$apache_error_folder"], } + # Images folder for error + file { "${apache_error_folder}/images": + ensure => "${apache_www_folder}/images", + owner => "root", + group => "root", + force => true, + require => File["$apache_error_folder", "${apache_www_folder}/images"], + } + # TODO: this is temporary: remove when all nodes have applied it # We have to use 'zzz-erro' so it will be the last matched vhost apache::site { "erro":