From 91f0128c617e4a2a551914f9d21c757f48b02a6a Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Fri, 14 Jan 2011 02:40:27 +0000 Subject: add basic git hosting, using xinetd --- modules/git/manifests/init.pp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'modules/git') diff --git a/modules/git/manifests/init.pp b/modules/git/manifests/init.pp index a11ea9fc..93fcc7e5 100644 --- a/modules/git/manifests/init.pp +++ b/modules/git/manifests/init.pp @@ -5,9 +5,17 @@ class git { } class server inherits common { + $git_base_path = '/git/' + + xinetd::service { "git": + content => template('git/xinetd') + } + + file { "$git_base_path": + ensure => directory + } + # TODO - # integration with xinetd for anonymous co - # creation of /git # define common syntax check, see svn # proper policy : no-fast-forward # no branch ? -- cgit v1.2.1