summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/defines.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/defines.pp b/manifests/defines.pp
index 4b8b321..81746ff 100644
--- a/manifests/defines.pp
+++ b/manifests/defines.pp
@@ -53,8 +53,8 @@ define git::web::repo::lighttpd(
define git::clone(
$git_repo,
$projectroot,
- $runas_user='root',
- $runas_group='0'
+ $cloneddir_user='root',
+ $cloneddir_group='0'
){
exec {"git-clone":
command => "git-clone --no-hardlinks $git_repo $projectroot",
@@ -63,7 +63,7 @@ define git::clone(
notify => Exec["git-clone-chown"]
}
exec {"git-clone-chown":
- command => "chown -R $runas_user.$runas_group $projectroot",
+ command => "chown -R ${cloneddir_user}.${cloneddir_group} $projectroot",
refreshonly => true
}
}