From e849bcd1b0729e432625d6f1d35758dfc20c8c02 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Fri, 11 Feb 2011 17:50:01 +0000 Subject: use source instead of templates ( likely lighter, no need to parse the file for no reason ) --- modules/git/manifests/init.pp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'modules/git/manifests') 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', } -- cgit v1.2.1