Class git::gitolite
In: /modules/git/manifests/gitolite.pp
Parent:

Configure the git user‘s home for repository management using gitolite.

Usage :

  class git::gitolite {
    admin_sshkey     => 'AAAAHsKhmP44J0....j2H6pC8dU=',
    admin_sshkeytype => 'rsa',
  }

Resources

Resources

Exec[gl-setup $githome/admin.pub]
   user => $gituser
   group => $gitgroup
   path => ["/bin", "/usr/bin"]
   environment => [HOME=$githome]
   creates => $githome/.gitolite.rc
   require => [Package["gitolite"], File[$githome/admin.pub], $requireuser]
File[$githome/admin.pub]
   content => ssh-$admin_sshkeytype $admin_sshkey" admin "
   owner => $gituser
   group => $gitgroup
   mode => "0600"
Package["gitolite"]
   ensure => installed

[Validate]