kolla-ansible/ansible/roles/ceilometer/templates/ceilometer-central.json.j2
Rafael Weingärtner 11d1412c6b Add feature to support managing dynamic pollsters
Depends-On: https://review.opendev.org/#/c/677031/
Change-Id: I273aa795cf5c92f344accae2c219dbb51d318b59
2020-03-27 10:55:08 -03:00

55 lines
2.0 KiB
Django/Jinja

{
"command": "ceilometer-polling --polling-namespaces central",
"config_files": [
{
"source": "{{ container_config_directory }}/ceilometer.conf",
"dest": "/etc/ceilometer/ceilometer.conf",
"owner": "ceilometer",
"perm": "0600"
}{% if ceilometer_polling_file_path is defined %},
{
"source": "{{ container_config_directory }}/polling.yaml",
"dest": "/etc/ceilometer/polling.yaml",
"owner": "ceilometer",
"perm": "0600"
}{% endif %}{% if ceilometer_gnocchi_resources_file_path is defined %},
{
"source": "{{ container_config_directory }}/gnocchi_resources.yaml",
"dest": "/etc/ceilometer/gnocchi_resources.yaml",
"owner": "ceilometer",
"perm": "0600"
}{% endif %}{% if ceilometer_policy_file is defined %},
{
"source": "{{ container_config_directory }}/{{ ceilometer_policy_file }}",
"dest": "/etc/ceilometer/{{ ceilometer_policy_file }}",
"owner": "ceilometer",
"perm": "0600"
}{% endif %}{% if should_copy_custom_meter_definitions %},
{
"source": "{{ container_config_directory }}/meters.d",
"dest": "/etc/ceilometer/meters.d",
"owner": "ceilometer",
"perm": "0700"
}{% endif %}{% if should_copy_dynamic_pollster_definitions %},
{
"source": "{{ container_config_directory }}/{{ ceilometer_dynamic_pollsters_local_folder }}",
"dest": "/etc/ceilometer/pollsters.d",
"owner": "ceilometer",
"perm": "0700"
}{% endif %},
{
"source": "{{ container_config_directory }}/pipeline.yaml",
"dest": "/etc/ceilometer/pipeline.yaml",
"owner": "ceilometer",
"perm": "0600"
}
],
"permissions": [
{
"path": "/var/log/kolla/ceilometer",
"owner": "ceilometer:ceilometer",
"recurse": true
}
]
}