aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-01-26 13:35:44 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-01-26 13:35:44 -0200
commitc03dfc8bf837847d29490c1fde196bcdf5acc9f1 (patch)
tree7edbcc0ac1e455247e32cef47ec94ff268c4fea2 /manifests/subsystems
parent73e6199a5a44fe7607472337b015dc9f2e28dee0 (diff)
downloadpuppet-nodo-c03dfc8bf837847d29490c1fde196bcdf5acc9f1.tar.gz
puppet-nodo-c03dfc8bf837847d29490c1fde196bcdf5acc9f1.tar.bz2
Images folder for error host
Diffstat (limited to 'manifests/subsystems')
-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":