[Mageia-sysadm] [796] add basic git hosting, using xinetd
root at mageia.org
root at mageia.org
Fri Jan 14 03:40:27 CET 2011
Revision: 796
Author: misc
Date: 2011-01-14 03:40:27 +0100 (Fri, 14 Jan 2011)
Log Message:
-----------
add basic git hosting, using xinetd
Modified Paths:
--------------
puppet/modules/git/manifests/init.pp
Modified: puppet/modules/git/manifests/init.pp
===================================================================
--- puppet/modules/git/manifests/init.pp 2011-01-14 02:40:26 UTC (rev 795)
+++ puppet/modules/git/manifests/init.pp 2011-01-14 02:40:27 UTC (rev 796)
@@ -5,9 +5,17 @@
}
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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110114/2eef9285/attachment.html>
More information about the Mageia-sysadm
mailing list