templates/mysql_cluster/config/rubber/role/mysql_sql/my.cnf in rubber-2.12.2 vs templates/mysql_cluster/config/rubber/role/mysql_sql/my.cnf in rubber-2.13.0
- old
+ new
@@ -1,10 +1,10 @@
<%
@path = "/etc/mysql/my.cnf"
# When sql nodes on same hosts as data nodes, then this config needs to be
# additive - the mysql_data node gets generated first due to generator order
- self_instance = rubber_instances[rubber_env.host]
+ self_instance = rubber_instance
if self_instance.role_names.include?('mysql_data')
@additive = ['# mysql_sql start', '# mysql_sql end']
end
mgm_nodes = rubber_instances.for_role('mysql_mgm')