Add optional host to ceilometer.conf
By default cfg.CONF.host is the `hostname` of local node, however, not all envs register their hosts by the fqdn. This allows a configurable attr to add to the ceilometer.conf Change-Id: If80cd5264a02eeb7c94655716839642dd7993906
This commit is contained in:
parent
93e308a163
commit
f19a0d9d00
|
@ -3,6 +3,11 @@ openstack-metering Cookbook CHANGELOG
|
|||
This file is used to list changes made in each version of the openstack-metering cookbook.
|
||||
|
||||
|
||||
v7.0.2
|
||||
------
|
||||
### Improvement
|
||||
- Add optional host to the ceilometer.conf
|
||||
|
||||
v7.0.1
|
||||
------
|
||||
### Bug
|
||||
|
|
|
@ -4,7 +4,7 @@ maintainer_email "cookbooks@lists.tfoundry.com"
|
|||
license "Apache 2.0"
|
||||
description "The OpenStack Metering service Ceilometer."
|
||||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
|
||||
version "7.0.1"
|
||||
version "7.0.2"
|
||||
|
||||
recipe "openstack-metering::agent-central", "Installs agent central service."
|
||||
recipe "openstack-metering::agent-compute", "Installs agent compute service."
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
[DEFAULT]
|
||||
<% if node["openstack"]["metering"]["host"] %>
|
||||
host = <%= node["openstack"]["metering"]["host"] %>
|
||||
<% end %>
|
||||
os_auth_url = <%= @auth_uri %>
|
||||
os_tenant_name = <%= @service_tenant_name %>
|
||||
os_password = <%= @service_pass %>
|
||||
|
|
Loading…
Reference in New Issue