master TOC | chapter TOC | support
So far, the "central" admin still has control over the gitolite.conf file and all repos created. Sometimes it's easier to give control over parts of the configuration to people at the mirror sites. To keep it simple, each admin will be able to do whatever they want to directories within a subdirectory of the same name as the hostname.
You can combine the "HOSTNAME" feature above with delegation. Let's say the admin for sam is a user called "gamgee", and the admin for gollum is "smeagol".
Add this to your conf file:
@sam = sam/..*
@gollum = gollum/..*
Then use NAME/ rules (see the delegation doc for details) and allow gamgee to write only conf/sam.conf, and smeagol to write only conf/gollum.conf.
Now in the main config file, at the end (or wherever you wish), add one line:
subconf "HOSTNAME.conf"