Fix ceilometer.conf template
mongodb_port is already part of ceilometer_database_address TrivialFix Change-Id: I1eabd5e6d59215eea624d1b242b4e3820cf206ce
This commit is contained in:
parent
d2b64b4473
commit
b76a613f47
@ -13,7 +13,7 @@ host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['addr
|
||||
|
||||
[database]
|
||||
{% if ceilometer_database_type == "mongodb" %}
|
||||
connection = mongodb://{{ ceilometer_database_user }}:{{ ceilometer_database_password }}@{{ ceilometer_database_address }}:{{ mongodb_port }}/{{ ceilometer_database_name }}
|
||||
connection = mongodb://{{ ceilometer_database_user }}:{{ ceilometer_database_password }}@{{ ceilometer_database_address }}/{{ ceilometer_database_name }}
|
||||
{% elif ceilometer_database_type == "mysql" %}
|
||||
connection = mysql+pymysql://{{ ceilometer_database_user }}:{{ ceilometer_database_password }}@{{ ceilometer_database_address }}/{{ ceilometer_database_name }}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user