[JOID] generate bundle using jinja templates
[joid.git] / ci / bundle_tpl / mysql.yaml
1     mysql:
2       charm: "local:{{ ubuntu.release }}/percona-cluster"
3       num_units: {{ unit_qty() }}
4       options:
5         dataset-size: 2G
6         lp1366997-workaround: true
7         max-connections: 10000
8         root-password: {{ get_password('mysql_root') }}
9         sst-password: {{ get_password('mysql_sst') }}
10 {% if os.ha.mode == 'ha' %}
11         vip: {{ opnfv.vip.mysql }}
12 {% endif %}
13       to:
14 {% for unit_id in to_select() %}
15         - "lxc:nodes={{ unit_id }}"
16 {% endfor %}