From e22f243b197c1e240b8ad7ef6bc43060dac8c54e Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Tue, 15 Sep 2015 16:32:19 +0200 Subject: [PATCH] Make region list a list YAML has, you know, data structures. Change-Id: Ic81c7f3bac18832f3a2e1507208a3e7c94f69b89 --- .../openstack_project/templates/nodepool/clouds.yaml.erb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/openstack_project/templates/nodepool/clouds.yaml.erb b/modules/openstack_project/templates/nodepool/clouds.yaml.erb index 713bf185d3..31707e5a9d 100644 --- a/modules/openstack_project/templates/nodepool/clouds.yaml.erb +++ b/modules/openstack_project/templates/nodepool/clouds.yaml.erb @@ -1,14 +1,19 @@ clouds: rax: profile: rackspace - region_name: DFW,ORD,IAD + regions: + - DFW + - ORD + - IAD auth: username: '<%= rackspace_username %>' password: '<%= rackspace_password %>' project_id: <%= rackspace_project %> hpcloud: profile: hp - region_name: region-a.geo-1,region-b.geo-1 + regions: + - region-a.geo-1 + - region-b.geo-1 auth: username: '<%= hpcloud_username %>' password: '<%= hpcloud_password %>'