1 |
class mgagit( |
class mgagit( |
2 |
|
$git_dir = '/git', |
3 |
$ldap_server = 'ldap.mageia.org', |
$ldap_server = 'ldap.mageia.org', |
4 |
$binddn = 'uid=mgagit,ou=People,dc=mageia,dc=org', |
$binddn = 'uid=mgagit,ou=People,dc=mageia,dc=org', |
5 |
$bindpw |
$bindpw |
59 |
mode => '0600', |
mode => '0600', |
60 |
content => inline_template('<%= @bindpw %>'), |
content => inline_template('<%= @bindpw %>'), |
61 |
} |
} |
62 |
|
|
63 |
|
file { $git_dir: |
64 |
|
ensure => directory, |
65 |
|
owner => $git_login, |
66 |
|
group => $git_login, |
67 |
|
mode => '0755', |
68 |
|
} |
69 |
|
|
70 |
|
file { "$git_homedir/repositories": |
71 |
|
ensure => 'link', |
72 |
|
target => $git_dir, |
73 |
|
} |
74 |
} |
} |
75 |
# vim: sw=2 |
# vim: sw=2 |