diff options
author | mh <mh@immerda.ch> | 2009-02-24 00:29:46 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2009-02-24 00:29:46 +0000 |
commit | 27c72fae8c2b92743f55133c0056d0f9a48c58cc (patch) | |
tree | 21861401e7d3755a2e5cda7b9fbd7a040ba4083d /manifests | |
parent | 8cc237b95d45a2bf6f54cb76c30dd96c44260af0 (diff) |
to run git we need the git package
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}": |