diff options
-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 } } |