summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 0580042..991a95e 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -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}"],
}