blob: 68764b502de933412ffb581d59a4f0f0f194f74d [file] [log] [blame]
{%- from "gerrit/map.jinja" import client with context %}
gerrit:
host: {{ client.server.host }}
user: {{ client.server.user }}
auth_method: {{ client.server.get('auth_method', 'digest') }}
{%- if client.server.protocol is defined %}
protocol: {{ client.server.protocol }}
{%- endif %}
{%- if client.server.http_port is defined %}
http_port: {{ client.server.http_port }}
{%- endif %}
{%- if client.server.password is defined %}
password: {{ client.server.password }}
{%- endif %}
{%- if client.server.key is defined %}
keyfile: {{ client.config.key }}
{%- endif %}