aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/subsystems/websites.pp9
1 files changed, 9 insertions, 0 deletions
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":