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