James E. Blair 9b06e7fdc8 Add Gerrit configuration to puppet.
Change-Id: I26ebd80adb00ac5bf676533d5dd9359cbbe08075
2011-08-05 16:36:48 -07:00

32 lines
727 B
Plaintext

# This file is managed by puppet.
# https://github.com/openstack/openstack-ci-puppet
[gerrit]
basePath = git
canonicalWebUrl = <%= canonicalweburl %>
[database]
type = MYSQL
hostname = localhost
database = reviewdb
username = gerrit2
[auth]
type = OPENID_SSO
openIdSsoUrl = <%= openidssourl %>
[sendemail]
smtpServer = localhost
[container]
user = gerrit2
javaHome = /usr/lib/jvm/java-6-openjdk/jre
[sshd]
listenAddress = *:29418
[httpd]
listenUrl = proxy-https://*:8081/
[cache]
directory = cache
[user]
email = <%= email %>
<% commentlinks.each do |commentlink| -%>
[commentlink "<%= commentlink['name'] %>"]
match = "<%= commentlink['match'] %>"
link = "<%= commentlink['link'] %>"
<% end -%>