aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git
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
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')
-rw-r--r--modules/git/files/apply_git_puppet_config.sh (renamed from modules/git/templates/apply_git_puppet_config.sh)0
-rw-r--r--modules/git/files/create_git_repo.sh (renamed from modules/git/templates/create_git_repo.sh)0
-rw-r--r--modules/git/manifests/init.pp12
3 files changed, 6 insertions, 6 deletions
diff --git a/modules/git/templates/apply_git_puppet_config.sh b/modules/git/files/apply_git_puppet_config.sh
index 29ede998..29ede998 100644
--- a/modules/git/templates/apply_git_puppet_config.sh
+++ b/modules/git/files/apply_git_puppet_config.sh
diff --git a/modules/git/templates/create_git_repo.sh b/modules/git/files/create_git_repo.sh
index 1104edbe..1104edbe 100644
--- a/modules/git/templates/create_git_repo.sh
+++ b/modules/git/files/create_git_repo.sh
diff --git a/modules/git/manifests/init.pp b/modules/git/manifests/init.pp
index b4e1b6e1..1a3648fd 100644
--- a/modules/git/manifests/init.pp
+++ b/modules/git/manifests/init.pp
@@ -17,11 +17,11 @@ class git {
}
file { "/usr/local/bin/create_git_repo.sh":
- ensure => present,
- owner => root,
- group => root,
- mode => 755,
- content => template('git/create_git_repo.sh')
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 755,
+ source => 'puppet:///modules/git/create_git_repo.sh',
}
file { "/usr/local/bin/apply_git_puppet_config.sh":
@@ -29,7 +29,7 @@ class git {
owner => root,
group => root,
mode => 755,
- content => template('git/apply_git_puppet_config.sh')
+ source => 'puppet:///modules/git/apply_git_puppet_config.sh',
}