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>
50 lines
1.6 KiB
Django/Jinja
50 lines
1.6 KiB
Django/Jinja
{
|
|
"command": "ceilometer-agent-notification",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/ceilometer.conf",
|
|
"dest": "/etc/ceilometer/ceilometer.conf",
|
|
"owner": "ceilometer",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/event_definitions.yaml",
|
|
"dest": "/etc/ceilometer/event_definitions.yaml",
|
|
"owner": "ceilometer",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/event_pipeline.yaml",
|
|
"dest": "/etc/ceilometer/event_pipeline.yaml",
|
|
"owner": "ceilometer",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/pipeline.yaml",
|
|
"dest": "/etc/ceilometer/pipeline.yaml",
|
|
"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 }}/panko.conf",
|
|
"dest": "/etc/panko/panko.conf",
|
|
"owner": "ceilometer",
|
|
"perm": "0600",
|
|
"optional": true
|
|
}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/ceilometer",
|
|
"owner": "ceilometer:ceilometer",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|