Merge "Add limestone credentials to nodepool's cloud.yaml"
This commit is contained in:
commit
cec61a61e1
@ -989,6 +989,9 @@ node 'nodepool.openstack.org' {
|
||||
$linaro_username = hiera('nodepool_linaro_username', 'username')
|
||||
$linaro_password = hiera('nodepool_linaro_password')
|
||||
$linaro_project = hiera('nodepool_linaro_project', 'project')
|
||||
$limestone_username = hiera('nodepool_limestone_username', 'username')
|
||||
$limestone_password = hiera('nodepool_limestone_password')
|
||||
$limestone_project = hiera('nodepool_limestone_project', 'project')
|
||||
|
||||
$clouds_yaml = template("openstack_project/nodepool/clouds.yaml.erb")
|
||||
|
||||
@ -1052,6 +1055,14 @@ node 'nodepool.openstack.org' {
|
||||
content => hiera('infracloud_chocolate_ssl_cert_file_contents'),
|
||||
require => Class['::openstackci::nodepool'],
|
||||
}
|
||||
file { '/etc/openstack/limestone_cacert.pem':
|
||||
ensure => present,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0444',
|
||||
content => hiera('limestone_ssl_cert_file_contents'),
|
||||
require => Class['::openstackci::nodepool'],
|
||||
}
|
||||
|
||||
cron { 'mirror_gitgc':
|
||||
user => 'nodepool',
|
||||
@ -1098,6 +1109,9 @@ node /^nl\d+\.openstack\.org$/ {
|
||||
$linaro_username = hiera('nodepool_linaro_username', 'username')
|
||||
$linaro_password = hiera('nodepool_linaro_password')
|
||||
$linaro_project = hiera('nodepool_linaro_project', 'project')
|
||||
$limestone_username = hiera('nodepool_limestone_username', 'username')
|
||||
$limestone_password = hiera('nodepool_limestone_password')
|
||||
$limestone_project = hiera('nodepool_limestone_project', 'project')
|
||||
$clouds_yaml = template("openstack_project/nodepool/clouds.yaml.erb")
|
||||
|
||||
class { 'openstack_project::server':
|
||||
@ -1133,6 +1147,14 @@ node /^nl\d+\.openstack\.org$/ {
|
||||
content => hiera('infracloud_chocolate_ssl_cert_file_contents'),
|
||||
require => Class['::openstackci::nodepool_launcher'],
|
||||
}
|
||||
file { '/etc/openstack/limestone_cacert.pem':
|
||||
ensure => present,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0444',
|
||||
content => hiera('limestone_ssl_cert_file_contents'),
|
||||
require => Class['::openstackci::nodepool_launcher'],
|
||||
}
|
||||
}
|
||||
|
||||
# Node-OS: xenial
|
||||
@ -1169,6 +1191,9 @@ node /^nb\d+\.openstack\.org$/ {
|
||||
$linaro_username = hiera('nodepool_linaro_username', 'username')
|
||||
$linaro_password = hiera('nodepool_linaro_password')
|
||||
$linaro_project = hiera('nodepool_linaro_project', 'project')
|
||||
$limestone_username = hiera('nodepool_limestone_username', 'username')
|
||||
$limestone_password = hiera('nodepool_limestone_password')
|
||||
$limestone_project = hiera('nodepool_limestone_project', 'project')
|
||||
$clouds_yaml = template("openstack_project/nodepool/clouds.yaml.erb")
|
||||
|
||||
class { 'openstack_project::server':
|
||||
@ -1209,6 +1234,14 @@ node /^nb\d+\.openstack\.org$/ {
|
||||
content => hiera('infracloud_chocolate_ssl_cert_file_contents'),
|
||||
require => Class['::openstackci::nodepool_builder'],
|
||||
}
|
||||
file { '/etc/openstack/limestone_cacert.pem':
|
||||
ensure => present,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0444',
|
||||
content => hiera('limestone_ssl_cert_file_contents'),
|
||||
require => Class['::openstackci::nodepool_builder'],
|
||||
}
|
||||
|
||||
cron { 'mirror_gitgc':
|
||||
user => 'nodepool',
|
||||
|
@ -88,3 +88,22 @@ clouds:
|
||||
project_name: <%= @linaro_project %>
|
||||
project_domain_name: default
|
||||
user_domain_name: default
|
||||
limestone:
|
||||
regions:
|
||||
- name: RegionOne
|
||||
values:
|
||||
networks:
|
||||
- name: "Gateway Network"
|
||||
routes_externally: false
|
||||
routes_ipv6_externally: true
|
||||
nat_destination: true
|
||||
auth:
|
||||
auth_url: https://osa.continuous.pw:5000
|
||||
username: <%= @limestone_username %>
|
||||
password: <%= @limestone_password %>
|
||||
project_name: <%= @limestone_project %>
|
||||
user_domain_name: default
|
||||
project_domain_name: default
|
||||
api_timeout: 60
|
||||
identity_api_version: 3
|
||||
cacert: /etc/openstack/limestone_cacert.pem
|
||||
|
Loading…
x
Reference in New Issue
Block a user