blob: 69a0c179b263ee7ccdced1d793bb794025dd2ad1 [file] [log] [blame]
Dennis Dmitrievf4826bc2017-09-28 19:03:54 +03001{#-
2parameters:
3 reclass:
4 storage:
5 node:
6 <reclass_storage_node_name>:
7 classes:
8#}
Dennis Dmitrievc1e38002017-10-11 14:30:38 +03009 - service.galera.master.cluster
Dennis Dmitriev1cd17b12018-12-05 18:03:21 +020010 - cluster.${_param:cluster_name}.openstack.database
11 - cluster.${_param:cluster_name}.openstack.database.master
Dennis Dmitrievc1e38002017-10-11 14:30:38 +030012{{- set_param('keepalived_vip_interface', 'br_ctl') }}
13{{- register_metaparam('mysql_cluster_role', 'openstack_database') }}
14{{- register_metaparam('keepalived_vip_priority', 'openstack_database') }}
15{{- register_metaparam('keepalived_vip_virtual_router_id', 'openstack_database') }}