From c03dfc8bf837847d29490c1fde196bcdf5acc9f1 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 26 Jan 2011 13:35:44 -0200 Subject: Images folder for error host --- manifests/subsystems/websites.pp | 9 +++++++++ 1 file changed, 9 insertions(+) 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": -- cgit v1.2.3