3d9fd47e96
- Ceilometer - Gnocchi - Rally This will copy only yaml or json policy file if they exist. Change-Id: I59f3376ab9fb6fb83577465a6c9096764b9f19c0 Implements: blueprint support-custom-policy-yaml Co-authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
31 lines
979 B
Django/Jinja
31 lines
979 B
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_policy_file is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ ceilometer_policy_file }}",
|
|
"dest": "/etc/ceilometer/{{ ceilometer_policy_file }}",
|
|
"owner": "ceilometer",
|
|
"perm": "0600"
|
|
}{% 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
|
|
}
|
|
]
|
|
}
|