summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandreas <andreas@immerda.ch>2009-02-17 16:45:52 +0000
committerandreas <andreas@immerda.ch>2009-02-17 16:45:52 +0000
commit8fe2a4701222f0b36f071bd1a1fa064e8a17ef32 (patch)
treea8e016ca3449c05e93009e4a8cb2afdc8ec191a8
parent8a91b34032b5d908bf372cc08df48c9934ec6548 (diff)
documentroot
-rw-r--r--manifests/defines/vhost_files.pp2
-rw-r--r--manifests/defines/vhost_varieties.pp1
2 files changed, 2 insertions, 1 deletions
diff --git a/manifests/defines/vhost_files.pp b/manifests/defines/vhost_files.pp
index 26e137e..790c9bb 100644
--- a/manifests/defines/vhost_files.pp
+++ b/manifests/defines/vhost_files.pp
@@ -253,7 +253,7 @@ define apache::vhost::template(
}
-define apache::vhost::file::documentrootfile($filename,$thedomain){
+define apache::vhost::file::documentrootfile($documentroot,$filename,$thedomain){
file{"$documentroot/$filename":
source => [ "puppet://$server/files/apache/vhost_varieties/$fqdn/$thedomain/$filename",
"puppet://$server/files/apache/vhost_varieties/$apache_cluster_node/$thedomain/$filename",
diff --git a/manifests/defines/vhost_varieties.pp b/manifests/defines/vhost_varieties.pp
index 87d22e7..465c589 100644
--- a/manifests/defines/vhost_varieties.pp
+++ b/manifests/defines/vhost_varieties.pp
@@ -294,6 +294,7 @@ define apache::vhost::php::joomla(
}
apache::vhost::file::documentrootfile{"joomlaconfigurationfile":
+ documentroot => $documentroot,
filename => 'configuration.php',
thedomain => $name
}