diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/defines.pp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/defines.pp b/manifests/defines.pp index 7cae1a0..cab1930 100644 --- a/manifests/defines.pp +++ b/manifests/defines.pp @@ -57,9 +57,12 @@ define git::clone( $cloneddir_group='0', $cloneddir_restrict_mode=true ){ + include git + exec {"git-clone_${name}": command => "git-clone --no-hardlinks ${git_repo} ${projectroot}", - creates => "$projectroot/.git", + creates => "${projectroot}/.git", + require => Package['git'], notify => Exec["git-clone-chown_${name}"], } exec {"git-clone-chown_${name}": |