kolla-ansible/ansible/roles/trove/templates/trove-conductor.json.j2
wu.chunyang 69bc7b4ee2 add trove policy file customization
now,the trove does not support policy customization.
this ps to add it.

Change-Id: I32d62d0293ddf63572cf754a7108ed74f94b216a
2018-08-20 04:28:06 +00:00

30 lines
864 B
Django/Jinja

{
"command": "trove-conductor --config-file=/etc/trove/trove-conductor.conf",
"config_files": [
{
"source": "{{ container_config_directory }}/trove-conductor.conf",
"dest": "/etc/trove/trove-conductor.conf",
"owner": "trove",
"perm": "0600"
}{% if trove_policy_file is defined %},
{
"source": "{{ container_config_directory }}/{{ trove_policy_file }}",
"dest": "/etc/trove/{{ trove_policy_file }}",
"owner": "trove",
"perm": "0600"
}{% endif %}
],
"permissions": [
{
"path": "/var/log/kolla/trove",
"owner": "trove:trove",
"recurse": true
},
{
"path": "/var/lib/trove",
"owner": "trove:trove",
"recurse": true
}
]
}