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>
25 lines
677 B
Django/Jinja
25 lines
677 B
Django/Jinja
{
|
|
"command": "sleep infinity",
|
|
"config_files":[
|
|
{
|
|
"source": "{{ container_config_directory }}/rally.conf",
|
|
"dest": "/etc/rally/rally.conf",
|
|
"owner": "rally",
|
|
"perm": "0600"
|
|
}{% if rally_policy_file is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ rally_policy_file }}",
|
|
"dest": "/etc/rally/{{ rally_policy_file }}",
|
|
"owner": "rally",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/rally",
|
|
"owner": "rally:rally",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|