summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/bundle_tpl/haclusters.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/config_tpl/bundle_tpl/haclusters.yaml')
-rw-r--r--ci/config_tpl/bundle_tpl/haclusters.yaml40
1 files changed, 35 insertions, 5 deletions
diff --git a/ci/config_tpl/bundle_tpl/haclusters.yaml b/ci/config_tpl/bundle_tpl/haclusters.yaml
index fc42d38e..59493d5f 100644
--- a/ci/config_tpl/bundle_tpl/haclusters.yaml
+++ b/ci/config_tpl/bundle_tpl/haclusters.yaml
@@ -4,50 +4,80 @@
options:
corosync_transport: unicast
cluster_count: 3
+{% if os.network.ipv6 %}
+ prefer-ipv6: {{ os.network.ipv6 }}
+{% endif %}
hacluster-cinder:
charm: "local:{{ ubuntu.release }}/hacluster"
options:
corosync_transport: unicast
cluster_count: 3
-# hacluster-heat:
-# charm: "local:{{ ubuntu.release }}/hacluster"
-# options:
-# corosync_transport: unicast
-# cluster_count: 3
+{% if os.network.ipv6 %}
+ prefer-ipv6: {{ os.network.ipv6 }}
+{% endif %}
+ hacluster-heat:
+ charm: "local:{{ ubuntu.release }}/hacluster"
+ options:
+ corosync_transport: unicast
+ cluster_count: 3
+{% if os.network.ipv6 %}
+ prefer-ipv6: {{ os.network.ipv6 }}
+{% endif %}
hacluster-horizon:
charm: "local:{{ ubuntu.release }}/hacluster"
options:
corosync_transport: unicast
cluster_count: 3
+{% if os.network.ipv6 %}
+ prefer-ipv6: {{ os.network.ipv6 }}
+{% endif %}
hacluster-nova:
charm: "local:{{ ubuntu.release }}/hacluster"
options:
corosync_transport: unicast
cluster_count: 3
+{% if os.network.ipv6 %}
+ prefer-ipv6: {{ os.network.ipv6 }}
+{% endif %}
hacluster-neutron:
charm: "local:{{ ubuntu.release }}/hacluster"
options:
corosync_transport: unicast
cluster_count: 3
+{% if os.network.ipv6 %}
+ prefer-ipv6: {{ os.network.ipv6 }}
+{% endif %}
hacluster-glance:
charm: "local:{{ ubuntu.release }}/hacluster"
options:
corosync_transport: unicast
cluster_count: 3
+{% if os.network.ipv6 %}
+ prefer-ipv6: {{ os.network.ipv6 }}
+{% endif %}
hacluster-ceilometer:
charm: "local:{{ ubuntu.release }}/hacluster"
options:
corosync_transport: unicast
cluster_count: 3
+{% if os.network.ipv6 %}
+ prefer-ipv6: {{ os.network.ipv6 }}
+{% endif %}
hacluster-mysql:
charm: "local:{{ ubuntu.release }}/hacluster"
options:
corosync_transport: unicast
cluster_count: 3
+{% if os.network.ipv6 %}
+ prefer-ipv6: {{ os.network.ipv6 }}
+{% endif %}
{% if os.beta.hacluster_ceph_radosgw %}
hacluster-ceph-radosgw:
charm: "local:{{ ubuntu.release }}/hacluster"
options:
corosync_transport: unicast
cluster_count: 3
+{% if os.network.ipv6 %}
+ prefer-ipv6: {{ os.network.ipv6 }}
+{% endif %}
{% endif %}