From e9a56336b664f4575194c2317aa747652a2ecb6f Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Tue, 15 Aug 2017 13:28:22 -0500 Subject: modified templates and added variable to easlity understand the templates and added support for multiple networks. Change-Id: I1074c722c9007bd12c711dbfc58afa1a098d2a17 Signed-off-by: Narinder Gupta --- ci/config_tpl/juju2/bundle_tpl/mysql.yaml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'ci/config_tpl/juju2/bundle_tpl/mysql.yaml') diff --git a/ci/config_tpl/juju2/bundle_tpl/mysql.yaml b/ci/config_tpl/juju2/bundle_tpl/mysql.yaml index 5c0fee6c..eedc9f0e 100644 --- a/ci/config_tpl/juju2/bundle_tpl/mysql.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/mysql.yaml @@ -3,23 +3,20 @@ num_units: {{ unit_qty() }} {% if os.service.bindings %} bindings: - access: internal-api - shared-db: internal-api + "": *oam-space + cluster: *internal-space + shared-db: *internal-space {% endif %} options: -{% if os.ha.mode == 'ha' %} - innodb-buffer-pool-size: 1G - max-connections: 4000 -{% else %} innodb-buffer-pool-size: 1G max-connections: 4000 -{% endif %} #performance-schema: true #source: "deb http://repo.percona.com/apt xenial main" #key: "8507EFA5" root-password: {{ get_password('mysql_root') }} sst-password: {{ get_password('mysql_sst') }} sst-method: rsync + wait-timeout: 180 {% if os.network.ipv6 %} prefer-ipv6: {{ os.network.ipv6 }} {% endif %} -- cgit 1.2.3-korg