added host to ceilometer.conf file
This commit is contained in:
parent
5d0e3a1207
commit
b23db35bbb
@ -38,6 +38,7 @@ def render_ceilometer_conf(context):
|
||||
if (context and os.path.exists(ceilometer_utils.CEILOMETER_CONF)):
|
||||
# merge contexts
|
||||
context['service_port'] = ceilometer_utils.CEILOMETER_PORT
|
||||
context['ceilometer_host'] = utils.get_unit_hostname()
|
||||
|
||||
with open(ceilometer_utils.CEILOMETER_CONF, "w") as conf:
|
||||
conf.write(utils.render_template(
|
||||
|
@ -12,3 +12,4 @@ os_tenant_name = {{ keystone_os_tenant }}
|
||||
os_username = {{ keystone_os_username }}
|
||||
os_password = {{ keystone_os_password }}
|
||||
logdir = /var/log/ceilometer
|
||||
host = {{ ceilometer_host }}
|
||||
|
Loading…
Reference in New Issue
Block a user