blob: 2e9c251ddfa02ff8bd3380eac249f6b05eba5885 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{% raw %}
{% set ips = openbook_gcomm_addresses.split(",") %}
{% if ips|length > 1 %}
{% set failover = "failover:" %}
{% else %}
{% set failover = "" %}
{% endif %}
{% endraw %}
{
"log.path": "{{ pillar["job_scheduler_server"]["log"] }}"
{% raw %}
{% if "True" == openbook_install_job_scheduler_server|string() %}
,"entityDS.url": "jdbc:mariadb:{{ failover }}//{{ openbook_gcomm_addresses }}/openbook"
,"jobsDS.url": "jdbc:mariadb:{{ failover }}//{{ openbook_gcomm_addresses }}/openbook_jobs"
{% endif %}
{% endraw %}
}
|