diff options
Diffstat (limited to 'deployment/mgagit/manifests/init.pp')
-rw-r--r-- | deployment/mgagit/manifests/init.pp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/deployment/mgagit/manifests/init.pp b/deployment/mgagit/manifests/init.pp index 05de7526..41117e1d 100644 --- a/deployment/mgagit/manifests/init.pp +++ b/deployment/mgagit/manifests/init.pp @@ -1,4 +1,5 @@ class mgagit( + $git_dir = '/git', $ldap_server = 'ldap.mageia.org', $binddn = 'uid=mgagit,ou=People,dc=mageia,dc=org', $bindpw @@ -58,5 +59,17 @@ class mgagit( mode => '0600', content => inline_template('<%= @bindpw %>'), } + + file { $git_dir: + ensure => directory, + owner => $git_login, + group => $git_login, + mode => '0755', + } + + file { "$git_homedir/repositories": + ensure => 'link', + target => $git_dir, + } } # vim: sw=2 |