From 1b45dc12255b479ff1dc57832fe8be5112736780 Mon Sep 17 00:00:00 2001 From: andreas Date: Mon, 9 Feb 2009 19:40:58 +0000 Subject: rename variables; put in braces because of the dots --- manifests/defines.pp | 6 +++--- 1 file 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 } } -- cgit v1.2.3