Pass through zanata client parameters
The zanata client needs the server URL, username, and API key to push and pull translations to the Zanata server. Pass them through for the development instance. Co-Authored-By: Steve Kowalik <steven@wedontsleep.org> Depends-On: I754ee54f805c91f5548b2cf270b23c68eed3959c Change-Id: I2195b0db7add7cfece1b0560e0b2cc4d4221ebe2
This commit is contained in:
parent
448d7ab400
commit
0c1dd8f471
@ -669,6 +669,9 @@ node 'proposal.slave.openstack.org' {
|
|||||||
jenkins_ssh_public_key => $openstack_project::jenkins_ssh_key,
|
jenkins_ssh_public_key => $openstack_project::jenkins_ssh_key,
|
||||||
proposal_ssh_public_key => hiera('proposal_ssh_public_key_contents', 'XXX'),
|
proposal_ssh_public_key => hiera('proposal_ssh_public_key_contents', 'XXX'),
|
||||||
proposal_ssh_private_key => hiera('proposal_ssh_private_key_contents', 'XXX'),
|
proposal_ssh_private_key => hiera('proposal_ssh_private_key_contents', 'XXX'),
|
||||||
|
zanata_server_url => 'https://translate-dev.openstack.org',
|
||||||
|
zanata_server_user => hiera('proposal_zanata_user', 'XXX'),
|
||||||
|
zanata_server_api_key => hiera('proposal_zanata_api_key', 'XXX'),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,8 +12,16 @@ class openstack_project::proposal_slave (
|
|||||||
$jenkins_gitfullname = 'OpenStack Jenkins',
|
$jenkins_gitfullname = 'OpenStack Jenkins',
|
||||||
$jenkins_gitemail = 'jenkins@openstack.org',
|
$jenkins_gitemail = 'jenkins@openstack.org',
|
||||||
$project_config_repo = 'https://git.openstack.org/openstack-infra/project-config',
|
$project_config_repo = 'https://git.openstack.org/openstack-infra/project-config',
|
||||||
|
$zanata_server_url,
|
||||||
|
$zanata_server_user,
|
||||||
|
$zanata_server_api_key,
|
||||||
) {
|
) {
|
||||||
include zanata::client
|
|
||||||
|
class { '::zanata::client':
|
||||||
|
server_url => $zanata_server_url,
|
||||||
|
server_user => $zanata_server_user,
|
||||||
|
server_api_key => $zanata_server_api_key,
|
||||||
|
}
|
||||||
|
|
||||||
class { 'openstack_project::slave':
|
class { 'openstack_project::slave':
|
||||||
ssh_key => $jenkins_ssh_public_key,
|
ssh_key => $jenkins_ssh_public_key,
|
||||||
|
Loading…
Reference in New Issue
Block a user