Commit e1afec90 authored by intrigeri's avatar intrigeri
Browse files

Have Gitolite use a single log file, so that we can more easily rotate it ourselves.

parent e09ef83b
......@@ -30,6 +30,13 @@ exec chpst -ugitolite "$(git --exec-path)"/git-daemon --reuseaddr --base-path=/v
],
}
# Make it easier to rotate logs ourselves
file_line { 'single_log_file':
path => '/var/lib/gitolite/.gitolite.rc',
match => '#?\s*\$GL_LOGT\s*=\s*".*";',
line => "\$GL_LOGT = \"\$GL_ADMINDIR/logs/gitolite.log\";",
}
# 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