From ba49d46bd1174eb9d53482d60ff23abf3fe0ba1b Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sun, 16 Jan 2011 13:15:28 +0000 Subject: add a git repository creation script --- modules/git/manifests/init.pp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'modules/git/manifests') diff --git a/modules/git/manifests/init.pp b/modules/git/manifests/init.pp index 2f0f9844..34428e5c 100644 --- a/modules/git/manifests/init.pp +++ b/modules/git/manifests/init.pp @@ -15,6 +15,15 @@ class git { file { "$git_base_path": ensure => directory } + + file { "/usr/local/bin/create_git_repo.sh": + ensure => present, + owner => root, + group => root, + mode => 755, + content => template('git/create_git_repo.sh') + } + # TODO # define common syntax check, see svn -- cgit v1.2.1