~narindergupta/opnfv/stable-R2

« back to all changes in this revision

Viewing changes to ci/config_tpl/bundle_tpl/mysql.yaml

  • Committer: Gerrit Code Review
  • Author(s): Narinder Gupta
  • Date: 2016-08-06 00:03:42 UTC
  • mfrom: (370.1.1)
  • Revision ID: git-v1:0f81e81552bdf0053fc0303c53dff455c17d56a6
Merge "New scripts for configs generation, based on jinja2"

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
    mysql:
 
2
      charm: "local:{{ ubuntu.release }}/percona-cluster"
 
3
      num_units: {{ unit_qty() }}
 
4
      options:
 
5
        innodb-buffer-pool-size: 100M
 
6
        #lp1366997-workaround: true
 
7
        max-connections: 20000
 
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
        min-cluster-size: {{ unit_qty() }}
 
14
      to:
 
15
{% for unit_id in to_select() %}
 
16
        - "lxc:nodes={{ unit_id }}"
 
17
{% endfor %}