summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp8
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index c5b10f5..33c8d27 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -122,10 +122,10 @@ 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}"],
+ exec { "check_docroot_${docroot}":
+ command => "/bin/mkdir -p ${docroot}",
+ unless => "/bin/sh -c '[ -e ${docroot} ]'",
+ before => File["${docroot}"],
}
}
exec { "/usr/sbin/a2ensite $name":