]> gitweb.fluxo.info Git - puppet-apache.git/commitdiff
Minor fix
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 8 Nov 2009 20:15:45 +0000 (18:15 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 8 Nov 2009 20:15:45 +0000 (18:15 -0200)
manifests/init.pp

index 0580042f5fca7904e74762999fd9b1bfc32eb289..991a95e681f50089fa5cdea3d166ebc6bb9e7664 100644 (file)
@@ -123,6 +123,7 @@ class apache {
         if !defined(Exec["check_docroot_${docroot}"]) {
           # Ensure parent folder exist
           exec { "/bin/mkdir -p ${docroot}":
+            alias  => "check_docroot_${docroot}",
             unless => "/bin/sh -c '[ -e ${docroot} ]'",
             before => File["${docroot}"], 
           }