puppets: keepalives for gerrit connections
This is to support changes by https://review.openstack.org/268077 Change-Id: Ib193a776bff861a12cb477ee87b848815aee8641
This commit is contained in:
parent
d291e7f1e7
commit
6c45848ff7
@ -40,6 +40,9 @@
|
|||||||
#
|
#
|
||||||
# [*gerrit_port*]
|
# [*gerrit_port*]
|
||||||
#
|
#
|
||||||
|
# [*gerrit_keepalive*]
|
||||||
|
# Keepalive interval in seconds, or disabled when 0 (default)
|
||||||
|
#
|
||||||
#
|
#
|
||||||
# === Examples
|
# === Examples
|
||||||
#
|
#
|
||||||
@ -57,6 +60,7 @@ class ci_scoreboard (
|
|||||||
$ssh_private_key,
|
$ssh_private_key,
|
||||||
$gerrit_hostname = 'review.openstack.org',
|
$gerrit_hostname = 'review.openstack.org',
|
||||||
$gerrit_port = 29418,
|
$gerrit_port = 29418,
|
||||||
|
$gerrit_keepalive = 0,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
$ssh_private_key_file = '/var/lib/scoreboard/ssh/id_rsa'
|
$ssh_private_key_file = '/var/lib/scoreboard/ssh/id_rsa'
|
||||||
@ -108,6 +112,7 @@ class ci_scoreboard (
|
|||||||
# ssh_private_key_file
|
# ssh_private_key_file
|
||||||
# gerrit_server
|
# gerrit_server
|
||||||
# gerrit_port
|
# gerrit_port
|
||||||
|
# gerrit_keepalive
|
||||||
# log_file_location
|
# log_file_location
|
||||||
file { '/etc/ci-scoreboard/ci-scoreboard.conf':
|
file { '/etc/ci-scoreboard/ci-scoreboard.conf':
|
||||||
content => template('ci_scoreboard/ci-scoreboard.conf.erb'),
|
content => template('ci_scoreboard/ci-scoreboard.conf.erb'),
|
||||||
|
@ -3,5 +3,6 @@ GERRIT_USER: <%= @gerrit_user %>
|
|||||||
GERRIT_KEY: <%= @ssh_private_key_file %>
|
GERRIT_KEY: <%= @ssh_private_key_file %>
|
||||||
GERRIT_HOSTNAME: <%= @gerrit_hostname %>
|
GERRIT_HOSTNAME: <%= @gerrit_hostname %>
|
||||||
GERRIT_PORT: <%= @gerrit_port %>
|
GERRIT_PORT: <%= @gerrit_port %>
|
||||||
|
GERRIT_KEEPALIVE: <%= @gerrit_keepalive %>
|
||||||
DB_URI: mongodb://localhost:27017
|
DB_URI: mongodb://localhost:27017
|
||||||
LOG_FILE_LOCATION: <%= @log_file_location %>
|
LOG_FILE_LOCATION: <%= @log_file_location %>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user