diff options
author | Michael Scherer <misc@mageia.org> | 2011-01-14 02:40:27 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-01-14 02:40:27 +0000 |
commit | 91f0128c617e4a2a551914f9d21c757f48b02a6a (patch) | |
tree | a7ec061b5448dbb691815d506885b37c0533fd06 | |
parent | 479d25acf474a6b8ce8459345adfb11b0cc51556 (diff) | |
download | puppet-91f0128c617e4a2a551914f9d21c757f48b02a6a.tar puppet-91f0128c617e4a2a551914f9d21c757f48b02a6a.tar.gz puppet-91f0128c617e4a2a551914f9d21c757f48b02a6a.tar.bz2 puppet-91f0128c617e4a2a551914f9d21c757f48b02a6a.tar.xz puppet-91f0128c617e4a2a551914f9d21c757f48b02a6a.zip |
add basic git hosting, using xinetd
-rw-r--r-- | modules/git/manifests/init.pp | 12 |
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 ? |