summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorandreas <andreas@immerda.ch>2009-02-09 16:14:39 +0000
committerandreas <andreas@immerda.ch>2009-02-09 16:14:39 +0000
commit2da51f8fc766c37a7aeeec9fe2cdb88913eb22b9 (patch)
tree6c363bcdcf5ab9c18f0728a730b44d0b88ee8c7d /manifests
parent33014ed8d649503e08d26abffa2dd41751ba0873 (diff)
extend git-clone with runas user
Diffstat (limited to 'manifests')
-rw-r--r--manifests/defines/vhost_varieties.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/defines/vhost_varieties.pp b/manifests/defines/vhost_varieties.pp
index 65107d3..ad35a98 100644
--- a/manifests/defines/vhost_varieties.pp
+++ b/manifests/defines/vhost_varieties.pp
@@ -231,7 +231,9 @@ define apache::vhost::php::joomla(
# for the cloning, $documentroot needs to be absent
git::clone{"git_clone_$name":
git_repo => "git://git.immerda.ch/ijoomla.git",
- projectroot => $documentroot
+ projectroot => $documentroot,
+ runas_user => $owner,
+ runas_group => $group
}
# create and/or put correct permissions
apache::vhost::webdir{$name: