summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2009-11-08 18:32:09 -0200
committerSilvio Rhatto <rhatto@riseup.net>2009-11-08 18:32:09 -0200
commit49b5e7da0671ff84e73544c711e7f87fbb58ec36 (patch)
tree49723eff73f249a601101d6a0c48f4e8d68b80fc
parent6d9d88b99a52fb52f4c930bce03a74abf8e80a90 (diff)
downloadpuppet-apache-49b5e7da0671ff84e73544c711e7f87fbb58ec36.tar.gz
puppet-apache-49b5e7da0671ff84e73544c711e7f87fbb58ec36.tar.bz2
Minor fix
-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":