Skip to content

Commit c67a6b3

Browse files
Set wsrep config path correctly for garb on FreeBSD
1 parent 9cecfc0 commit c67a6b3

File tree

1 file changed

+1
-1
lines changed
  • templates/rc.conf.d

1 file changed

+1
-1
lines changed

templates/rc.conf.d/garb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
garb_enable=YES
22
garb_galera_nodes="{% for node_vars in mariadb_galera_cluster_nodes | map('extract', hostvars) %}{{ node_vars.mariadb['my.cnf'].galera.wsrep_node_address }}{% if not loop.last %},{% endif %}{% endfor %}"
3-
garb_galera_group="{{ mariadb['my.cnf'].galera.wsrep_cluster_name }}"
3+
garb_galera_group="{{ mariadb['my.cnf'].galera.wsrep_cluster_name if ansible_system == 'Linux' else mariadb['my.cnf'].mysqld.wsrep_cluster_name }}"

0 commit comments

Comments
 (0)