Support restTokenPrivateKey on review.o.o

It's not clear what this does, but pass it in just in case
it's important.

Depends-On: I3f3b2f11556f2bd745bfd2177982061128df11af
Change-Id: I35f0ffd6c54e00f996a9304c045a731e37f32b45
This commit is contained in:
Jeremy Stanley 2015-05-09 16:41:12 +00:00
parent fe5600d466
commit 2dd8bb8d69
3 changed files with 5 additions and 0 deletions

View File

@ -61,6 +61,7 @@ node 'review.openstack.org' {
mysql_host => hiera('gerrit_mysql_host', 'localhost'),
mysql_password => hiera('gerrit_mysql_password', 'XXX'),
email_private_key => hiera('gerrit_email_private_key', 'XXX'),
token_private_key => hiera('gerrit_rest_token_private_key', 'XXX'),
gerritbot_password => hiera('gerrit_gerritbot_password', 'XXX'),
gerritbot_ssh_rsa_key_contents => hiera('gerritbot_ssh_rsa_key_contents', 'XXX'),
gerritbot_ssh_rsa_pubkey_contents => hiera('gerritbot_ssh_rsa_pubkey_contents', 'XXX'),

View File

@ -53,6 +53,7 @@ class openstack_project::gerrit (
$github_project_password = '',
$trivial_rebase_role_id = '',
$email_private_key = '',
$token_private_key = '',
$replicate_local = true,
$replication_force_update = true,
$replication = [],
@ -196,6 +197,7 @@ class openstack_project::gerrit (
mysql_host => $mysql_host,
mysql_password => $mysql_password,
email_private_key => $email_private_key,
token_private_key => $token_private_key,
replicate_local => $replicate_local,
replicate_path => $local_git_dir,
replication_force_update => $replication_force_update,

View File

@ -41,6 +41,7 @@ class openstack_project::review (
$mysql_host = '',
$mysql_password = '',
$email_private_key = '',
$token_private_key = '',
# Register an IRC bot and supply it's password here.
$gerritbot_password = '',
$gerritbot_ssh_rsa_key_contents = '',
@ -131,6 +132,7 @@ class openstack_project::review (
mysql_host => $mysql_host,
mysql_password => $mysql_password,
email_private_key => $email_private_key,
token_private_key => $token_private_key,
sysadmins => $sysadmins,
swift_username => $swift_username,
swift_password => $swift_password,