summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2009-11-08 18:15:45 -0200
committerSilvio Rhatto <rhatto@riseup.net>2009-11-08 18:15:45 -0200
commitd3417da7d1fa9fab55c066b9c5ae1cef2df572c1 (patch)
tree68ee90d28126d529f6cfc92a1fb727edc2fcdaa3
parent2382aa5068da1f050698dcafca3a4509bded67cc (diff)
downloadpuppet-apache-d3417da7d1fa9fab55c066b9c5ae1cef2df572c1.tar.gz
puppet-apache-d3417da7d1fa9fab55c066b9c5ae1cef2df572c1.tar.bz2
Minor fix
-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}"],
}