Merge "Add puppetry for translate01 xenialing"

This commit is contained in:
Jenkins 2017-02-27 17:46:11 +00:00 committed by Gerrit Code Review
commit 6931cc8d76
2 changed files with 31 additions and 2 deletions

View File

@ -1580,6 +1580,33 @@ node 'translate.openstack.org' {
}
}
# Node-OS: trusty
# Node-OS: xenial
node /^translate\d+\.openstack\.org$/ {
class { 'openstack_project::server':
iptables_public_tcp_ports => [80, 443],
sysadmins => hiera('sysadmins', []),
}
class { 'openstack_project::translate':
admin_users => 'aeng,camunoz,cboylan,daisyycguo,infra,jaegerandi,lyz,mordred,stevenk',
openid_url => 'https://openstackid.org',
listeners => ['ajp'],
from_address => 'noreply@openstack.org',
mysql_host => "invalid.host.for.now",
mysql_password => "supersecret",
zanata_server_user => hiera('proposal_zanata_user'),
zanata_server_api_key => hiera('proposal_zanata_api_key'),
zanata_wildfly_version => '10.1.0',
zanata_wildfly_install_url => 'https://repo1.maven.org/maven2/org/wildfly/wildfly-dist/10.1.0.Final/wildfly-dist-10.1.0.Final.tar.gz',
zanata_url => 'https://github.com/zanata/zanata-server/releases/download/server-3.9.6/zanata-3.9.6-wildfly.zip',
zanata_checksum => 'cb7a477f46a118a337b59b9f4004ef7e6c77a1a8',
project_config_repo => 'https://git.openstack.org/openstack-infra/project-config',
ssl_cert_file_contents => hiera('translate_ssl_cert_file_contents'),
ssl_key_file_contents => hiera('translate_ssl_key_file_contents'),
ssl_chain_file_contents => hiera('translate_ssl_chain_file_contents'),
}
}
# Node-OS: trusty
# Node-OS: xenial
node /^translate-dev\d*\.openstack\.org$/ {

View File

@ -22,7 +22,8 @@ class openstack_project::translate(
$admin_users = '',
$zanata_server_user = '',
$zanata_server_api_key = '',
$zanata_wildfly_version = '',
$zanata_wildfly_version = '9.0.1',
$zanata_wildfly_install_url = 'https://repo1.maven.org/maven2/org/wildfly/wildfly-dist/9.0.1.Final/wildfly-dist-9.0.1.Final.tar.gz',
$zanata_url = '',
$zanata_checksum = '',
$project_config_repo = '',
@ -51,7 +52,8 @@ class openstack_project::translate(
zanata_listeners => $listeners,
zanata_admin_users => $admin_users,
zanata_default_from_address => $from_address,
zanata_wildfly_version => $wildfly_version,
zanata_wildfly_version => $zanata_wildfly_version,
zanata_wildfly_install_url => $zanata_wildfly_install_url,
zanata_url => $zanata_url,
zanata_checksum => $zanata_checksum,
}