Commit 3106ddb1 authored by intrigeri's avatar intrigeri
Browse files

Rotate gitolite logs.

parent e1afec90
/var/lib/gitolite/.gitolite/logs/gitolite.log {
weekly
rotate 5
compress
delaycompress
missingok
notifempty
create 0600 gitolite gitolite
}
......@@ -37,6 +37,17 @@ exec chpst -ugitolite "$(git --exec-path)"/git-daemon --reuseaddr --base-path=/v
line => "\$GL_LOGT = \"\$GL_ADMINDIR/logs/gitolite.log\";",
}
# Rotate logs
file { '/etc/logrotate.d/gitolite':
owner => root,
group => root,
mode => '0644',
source => [
'puppet:///modules/site_tails/gitolite/logrotate',
'puppet:///modules/tails/gitolite/logrotate'
],
}
# Mirroring support
exec { 'SSH key pair for gitolite@puppet-git.lizard':
command => 'ssh-keygen -t rsa -b 4096 -N "" -f /var/lib/gitolite/.ssh/id_rsa',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment