Template credentials for Packet Host/Platform 9

Packet Host and Platform 9 have generously agreed to donate some
compute resources to our testing efforts. Add Nodepool and
Puppetmaster credentials for them.

Change-Id: I705c4204abca060c35a1a417791a67229b78cd02
This commit is contained in:
Jeremy Stanley 2018-06-06 22:08:08 +00:00
parent ee1ba99c04
commit acb2e9e6f0
5 changed files with 58 additions and 0 deletions

View File

@ -1089,6 +1089,9 @@ node /^nl\d+\.openstack\.org$/ {
$limestone_username = hiera('nodepool_limestone_username', 'username')
$limestone_password = hiera('nodepool_limestone_password')
$limestone_project = hiera('nodepool_limestone_project', 'project')
$packethost_username = hiera('nodepool_packethost_username', 'username')
$packethost_password = hiera('nodepool_packethost_password')
$packethost_project = hiera('nodepool_packethost_project', 'project')
$clouds_yaml = template("openstack_project/nodepool/clouds.yaml.erb")
class { 'openstack_project::server':
@ -1149,6 +1152,9 @@ node /^nb\d+\.openstack\.org$/ {
$limestone_username = hiera('nodepool_limestone_username', 'username')
$limestone_password = hiera('nodepool_limestone_password')
$limestone_project = hiera('nodepool_limestone_project', 'project')
$packethost_username = hiera('nodepool_packethost_username', 'username')
$packethost_password = hiera('nodepool_packethost_password')
$packethost_project = hiera('nodepool_packethost_project', 'project')
$clouds_yaml = template("openstack_project/nodepool/clouds.yaml.erb")
class { 'openstack_project::server':

View File

@ -96,3 +96,13 @@ clouds:
identity_api_version: 3
floating_ip_source: None
cacert: /home/nodepool/.config/openstack/limestone_cacert.pem
packethost:
regions:
- us-west-1
auth:
auth_url: https://packet.platform9.net/keystone
username: <%= @packethost_username %>
password: <%= @packethost_password %>
project_name: <%= @packethost_project %>
user_domain_name: default
project_domain_name: default

View File

@ -171,3 +171,23 @@ clouds:
project_domain_name: default
identity_api_version: 3
cacert: /etc/openstack/limestone_cacert.pem
openstackci-packethost:
regions:
- us-west-1
auth:
auth_url: https://packet.platform9.net/keystone
username: <%= @puppetmaster_clouds['openstackci_packethost_username'] %>
password: <%= @puppetmaster_clouds['openstackci_packethost_password'] %>
project_name: <%= @puppetmaster_clouds['openstackci_packethost_project_name'] %>
user_domain_name: default
project_domain_name: default
openstackzuul-packethost:
regions:
- us-west-1
auth:
auth_url: https://packet.platform9.net/keystone
username: <%= @puppetmaster_clouds['openstackzuul_packethost_username'] %>
password: <%= @puppetmaster_clouds['openstackzuul_packethost_password'] %>
project_name: <%= @puppetmaster_clouds['openstackzuul_packethost_project_name'] %>
user_domain_name: default
project_domain_name: default

View File

@ -96,3 +96,13 @@ clouds:
project_domain_name: default
identity_api_version: 3
cacert: /etc/openstack/limestone_cacert.pem
openstackci-packethost:
regions:
- us-west-1
auth:
auth_url: https://packet.platform9.net/keystone
username: <%= @puppetmaster_clouds['openstackci_packethost_username'] %>
password: <%= @puppetmaster_clouds['openstackci_packethost_password'] %>
project_name: <%= @puppetmaster_clouds['openstackci_packethost_project_name'] %>
user_domain_name: default
project_domain_name: default

View File

@ -320,3 +320,15 @@ clouds:
profiles:
- openstackci-keypairs
- openstackci-security
- name: openstackci-packethost
oscc_cloud: openstackci-packethost
region_name: us-west-1
profiles:
- openstackci-keypairs
- openstackci-security
- name: openstackzuul-packethost
oscc_cloud: openstackzuul-packethost
region_name: us-west-1
profiles:
- openstackci-keypairs
- openstackci-security