aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git/files/apply_git_puppet_config.sh
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-02-11 17:50:01 +0000
committerMichael Scherer <misc@mageia.org>2011-02-11 17:50:01 +0000
commite849bcd1b0729e432625d6f1d35758dfc20c8c02 (patch)
treee95512f167f51f1c94a316580509d0179222500b /modules/git/files/apply_git_puppet_config.sh
parentb3aa611aea913cacae53aa547beac0954bd45308 (diff)
downloadpuppet-e849bcd1b0729e432625d6f1d35758dfc20c8c02.tar
puppet-e849bcd1b0729e432625d6f1d35758dfc20c8c02.tar.gz
puppet-e849bcd1b0729e432625d6f1d35758dfc20c8c02.tar.bz2
puppet-e849bcd1b0729e432625d6f1d35758dfc20c8c02.tar.xz
puppet-e849bcd1b0729e432625d6f1d35758dfc20c8c02.zip
use source instead of templates ( likely lighter, no need to parse the file for no reason )
Diffstat (limited to 'modules/git/files/apply_git_puppet_config.sh')
-rw-r--r--modules/git/files/apply_git_puppet_config.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/git/files/apply_git_puppet_config.sh b/modules/git/files/apply_git_puppet_config.sh
new file mode 100644
index 00000000..29ede998
--- /dev/null
+++ b/modules/git/files/apply_git_puppet_config.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+while read line
+do
+ # --local is a option for the newer git
+ git config --add $line
+done < config.puppet