diff options
author | andreas <andreas@immerda.ch> | 2009-02-09 19:33:44 +0000 |
---|---|---|
committer | andreas <andreas@immerda.ch> | 2009-02-09 19:33:44 +0000 |
commit | 5eb82a88c7b1df3dc0b5e00ba5c4cba2a6500693 (patch) | |
tree | abd802945ad12e9ee1f81967b42b0329748a4d49 /manifests/defines.pp | |
parent | 504eab561a57b3c5e9bfb70c70f06bdeea64163a (diff) |
chown exec after git-clone mod
Diffstat (limited to 'manifests/defines.pp')
-rw-r--r-- | manifests/defines.pp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/defines.pp b/manifests/defines.pp index 169f34f..4b8b321 100644 --- a/manifests/defines.pp +++ b/manifests/defines.pp @@ -59,11 +59,12 @@ define git::clone( exec {"git-clone": command => "git-clone --no-hardlinks $git_repo $projectroot", creates => "$projectroot/.git", - user => root + user => root, + notify => Exec["git-clone-chown"] } exec {"git-clone-chown": command => "chown -R $runas_user.$runas_group $projectroot", - require => Exec["git-clone"] + refreshonly => true } } |