diff options
author | Michael Scherer <misc@mageia.org> | 2011-01-14 02:40:32 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-01-14 02:40:32 +0000 |
commit | 23431f294571dc46e356dfdef178257b7141b88f (patch) | |
tree | 652c9100cdb52ade8010d4bcd9e513bdcbc94ed2 /modules | |
parent | 72e8f34f46626eccbba4904b431bb5e86ca6932a (diff) | |
download | puppet-23431f294571dc46e356dfdef178257b7141b88f.tar puppet-23431f294571dc46e356dfdef178257b7141b88f.tar.gz puppet-23431f294571dc46e356dfdef178257b7141b88f.tar.bz2 puppet-23431f294571dc46e356dfdef178257b7141b88f.tar.xz puppet-23431f294571dc46e356dfdef178257b7141b88f.zip |
add various urls and TODO
Diffstat (limited to 'modules')
-rw-r--r-- | modules/git/manifests/init.pp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/modules/git/manifests/init.pp b/modules/git/manifests/init.pp index 93c8fb32..2f0f9844 100644 --- a/modules/git/manifests/init.pp +++ b/modules/git/manifests/init.pp @@ -5,6 +5,7 @@ class git { } class server inherits common { + # http://www.kernel.org/pub/software/scm/git/docs/everyday.html#Repository%20Administration $git_base_path = '/git/' xinetd::service { "git": @@ -17,17 +18,25 @@ class git { # TODO # define common syntax check, see svn - # proper policy : no-fast-forward + # http://stackoverflow.com/questions/3719883/git-hook-syntax-check + # proper policy : fast-forward-only + # ( http://progit.org/book/ch7-4.html ) # no branch ? # no binary # no big file - # no empty commit message, no root + # no empty commit message + # no commit from root + # see http://www.itk.org/Wiki/Git/Hooks # automated push to another git repo ( see http://noone.org/blog/English/Computer/VCS/Thoughts%20on%20Gitorious%20and%20GitHub%20plus%20a%20useful%20git%20hook.futile # # how do we handle commit permission ? + # mail sending + # } define repository($description = '') { + # http://eagleas.livejournal.com/18907.html + # TODO --shared=group + set g+ws exec { "git init --bare $name": creates => $name, } |