aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/compute-puppet.yaml
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2015-03-12 17:42:31 -0400
committerDan Prince <dprince@redhat.com>2015-03-12 17:42:31 -0400
commitc392dffb9d55b5a0c9798f0152068ed8e5c7dd3b (patch)
treeb78677e907ceb3902ce76fe2ccc7d45127b038d9 /puppet/compute-puppet.yaml
parent788bafd901d2a86114711d0133768935a696715b (diff)
puppet: tidy up the Nova glance API server config
Updates the puppet configuration for the Nova glance configs so that we do the join conversions in the Heat templates and use only hiera for configuration of the ::nova class. Change-Id: Id12fb05470470558f1dccd45150bfce00a554466
Diffstat (limited to 'puppet/compute-puppet.yaml')
-rw-r--r--puppet/compute-puppet.yaml15
1 files changed, 9 insertions, 6 deletions
diff --git a/puppet/compute-puppet.yaml b/puppet/compute-puppet.yaml
index 70059817..f7347094 100644
--- a/puppet/compute-puppet.yaml
+++ b/puppet/compute-puppet.yaml
@@ -290,9 +290,7 @@ resources:
ceilometer_compute_agent: {get_input: ceilometer_compute_agent}
snmpd_readonly_user_name: {get_input: snmpd_readonly_user_name}
snmpd_readonly_user_password: {get_input: snmpd_readonly_user_password}
- glance_host: {get_input: glance_host}
- glance_port: {get_input: glance_port}
- glance_protocol: {get_input: glance_protocol}
+ nova::glance_api_servers: {get_input: glance_api_servers}
keystone_host: {get_input: keystone_host}
#neutron::debug: {get_input: debug}
neutron_flat_networks: {get_input: neutron_flat_networks}
@@ -346,9 +344,14 @@ resources:
ceilometer_compute_agent: {get_param: CeilometerComputeAgent}
snmpd_readonly_user_name: {get_param: SnmpdReadonlyUserName}
snmpd_readonly_user_password: {get_param: SnmpdReadonlyUserPassword}
- glance_host: {get_param: GlanceHost}
- glance_port: {get_param: GlancePort}
- glance_protocol: {get_param: GlanceProtocol}
+ glance_api_servers:
+ list_join:
+ - ''
+ - - {get_param: GlanceProtocol}
+ - '://'
+ - {get_param: GlanceHost}
+ - ':'
+ - {get_param: GlancePort}
keystone_host: {get_param: KeystoneHost}
neutron_flat_networks: {get_param: NeutronFlatNetworks}
neutron_host: {get_param: NeutronHost}