aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git/manifests/init.pp')
-rw-r--r--modules/git/manifests/init.pp12
1 files changed, 10 insertions, 2 deletions
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 ?