aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-05-23 10:21:51 +0000
committerMichael Scherer <misc@mageia.org>2011-05-23 10:21:51 +0000
commite0d2d02ef1c253bf59ee865756866129a668704d (patch)
tree08ca213c53f20ae4f7ec0b5466b7bafb898e7e0c /modules/git
parentccbbb20c83b704af0383238bee11a82507a777e9 (diff)
downloadpuppet-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
Diffstat (limited to 'modules/git')
-rw-r--r--modules/git/manifests/init.pp3
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