18 |
# TODO create proper hook directory ( see zarb.org ) |
# TODO create proper hook directory ( see zarb.org ) |
19 |
# create documentation |
# create documentation |
20 |
# - group who can commit |
# - group who can commit |
21 |
|
# - array for who get mail on what ( hash ) |
22 |
|
# - array of where the directory is updated |
23 |
|
|
24 |
# define repository ($group => "svn") { |
# later, deploy a backup file ( ie, cron job to do a dump in some directory ) |
25 |
|
# TODO |
26 |
|
# what about pre commit ? |
27 |
|
# - name of a template file ? |
28 |
|
# - prepare a template for file checking ? |
29 |
|
# - openldap |
30 |
|
# - named |
31 |
|
# - puppet |
32 |
|
# - perl/ php syntax |
33 |
|
|
34 |
|
define repository ($group = "svn" ) { |
35 |
# # $name ==> lieu du checkout |
# # $name ==> lieu du checkout |
36 |
# exec { "svnadmin create $name": |
# exec { "svnadmin create $name": |
37 |
# path => "/usr/bin:/usr/sbin:/bin", |
# path => "/usr/bin:/usr/sbin:/bin", |
42 |
# mode => 660 |
# mode => 660 |
43 |
# recurse => true |
# recurse => true |
44 |
# } |
# } |
45 |
# # file pour les hooks |
# un hook par defaut qui fait un for i en pre, un hook par defaut qui fait un post |
46 |
# } |
} |
47 |
|
|
48 |
|
|
49 |
class client { |
class client { |