]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Images folder for error host
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 26 Jan 2011 15:35:44 +0000 (13:35 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 26 Jan 2011 15:35:44 +0000 (13:35 -0200)
manifests/subsystems/websites.pp

index 034b2b7d1339f4d314ca832b0460df40047ff06b..6a89ae7874351fb17e25620be25a081cc724cbca 100644 (file)
@@ -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":