# 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 -%>
# 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 %>
	cookieSecure = true
[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
[cache "web_sessions"]
	maxAge = 1d
[user]
	email = <%= email %>
<% commentlinks.each do |commentlink| -%>
[commentlink "<%= commentlink['name'] %>"]
        match = "<%= commentlink['match'] %>"
        link = "<%= commentlink['link'] %>"
<% end -%>
Increase gerrit session timeout to 24h.
Increase gerrit session timeout to 24h.

Set session cookies to SSL-only.

Change-Id: Ie49b0fe90f4c8c9f1c603d21b21e67fbdda6196c
