diff options
author | andreas <andreas@immerda.ch> | 2009-02-09 19:40:58 +0000 |
---|---|---|
committer | andreas <andreas@immerda.ch> | 2009-02-09 19:40:58 +0000 |
commit | 1b45dc12255b479ff1dc57832fe8be5112736780 (patch) | |
tree | f5945dea3129cad6970580a7faa18d1f939a583e | |
parent | 5eb82a88c7b1df3dc0b5e00ba5c4cba2a6500693 (diff) |
rename variables; put in braces because of the dots
-rw-r--r-- | manifests/defines.pp | 6 |
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 } } |