diff options
author | Michael Scherer <misc@mageia.org> | 2011-05-23 10:21:51 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-05-23 10:21:51 +0000 |
commit | e0d2d02ef1c253bf59ee865756866129a668704d (patch) | |
tree | 08ca213c53f20ae4f7ec0b5466b7bafb898e7e0c | |
parent | ccbbb20c83b704af0383238bee11a82507a777e9 (diff) | |
download | puppet-e0d2d02ef1c253bf59ee865756866129a668704d.tar puppet-e0d2d02ef1c253bf59ee865756866129a668704d.tar.gz puppet-e0d2d02ef1c253bf59ee865756866129a668704d.tar.bz2 puppet-e0d2d02ef1c253bf59ee865756866129a668704d.tar.xz puppet-e0d2d02ef1c253bf59ee865756866129a668704d.zip |
fix problem found by pterjan when deploying more than 1 git repository
-rw-r--r-- | modules/git/manifests/init.pp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/git/manifests/init.pp b/modules/git/manifests/init.pp index 1a3648fd..e7bda687 100644 --- a/modules/git/manifests/init.pp +++ b/modules/git/manifests/init.pp @@ -90,7 +90,8 @@ class git { content => template('git/config.puppet'), } - exec { "/usr/local/bin/apply_git_puppet_config.sh": + # $name is not really used, but this prevent duplicate declaration error + exec { "/usr/local/bin/apply_git_puppet_config.sh $name": cwd => $name, user => "root", refreshonly => true |