6b99f21341
- Barbican - Ceilometer - Cloudkitty - Congress - Designate This will copy only yaml or json policy file if they exist. Change-Id: Iaa19f64073d8bdee948bc2de58e095ca72afc092 Implements: blueprint support-custom-policy-yaml Co-authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
25 lines
795 B
Django/Jinja
25 lines
795 B
Django/Jinja
{
|
|
"command": "congress-server --policy-engine --node-id=policy-node --config-file /etc/congress/congress.conf",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/congress.conf",
|
|
"dest": "/etc/congress/congress.conf",
|
|
"owner": "congress",
|
|
"perm": "0600"
|
|
}{% if congress_policy_file is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ congress_policy_file }}",
|
|
"dest": "/etc/congress/{{ congress_policy_file }}",
|
|
"owner": "congress",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/congress",
|
|
"owner": "congress:congress",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|