Add omfracloud to nodepool
This adds the omfracloud jenkins account credentials to nodepool. I'm not pleased with the file resource in the node definition, but that node definiton grew huge and needs a refactor anyways so we can do that when we do it. I have verified that the correct keys are in hiera. Change-Id: Iafca5e86f72321c6aa7bef748ac2b1942539d15f
This commit is contained in:
parent
5a3a88737e
commit
0d23018f0e
@ -669,7 +669,17 @@ node 'nodepool.openstack.org' {
|
||||
$tripleo_username = hiera('nodepool_tripleo_username', 'username')
|
||||
$tripleo_password = hiera('nodepool_tripleo_password')
|
||||
$tripleo_project = hiera('nodepool_tripleo_project', 'project')
|
||||
$infracloud_username = hiera('nodepool_infracloud_username', 'username')
|
||||
$infracloud_password = hiera('nodepool_infracloud_password')
|
||||
$infracloud_project = hiera('nodepool_infracloud_project', 'project')
|
||||
$clouds_yaml = template("openstack_project/nodepool/clouds.yaml.erb")
|
||||
file { '/etc/openstack/infracloud_west_cacert.pem':
|
||||
ensure => present,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0600',
|
||||
content => hiera('infracloud_hpuswest_ssl_cert_file_contents'),
|
||||
}
|
||||
class { 'openstack_project::server':
|
||||
sysadmins => hiera('sysadmins', []),
|
||||
iptables_public_tcp_ports => [80],
|
||||
|
@ -46,3 +46,16 @@ clouds:
|
||||
username: '<%= internap_username %>'
|
||||
password: '<%= internap_password %>'
|
||||
project_name: '<%= internap_project %>'
|
||||
infracloud-west:
|
||||
region_name: RegionOne
|
||||
auth:
|
||||
username: '<%= infracloud_username %>'
|
||||
password: '<%= infracloud_password %>'
|
||||
project_name: '<%= infracloud_project %>'
|
||||
user_domain_id: 'default'
|
||||
project_domain_id: 'default'
|
||||
auth_url: 'https://controller00.hpuswest.ic.openstack.org:35357/v3'
|
||||
auth_type: 'v3password'
|
||||
cacert: '/etc/openstack/infracloud_west_cacert.pem'
|
||||
identity_api_version: '3'
|
||||
floating_ip_source: 'None'
|
||||
|
Loading…
x
Reference in New Issue
Block a user