templates/redis/config/rubber/role/redis/redis.conf in rubber-2.12.2 vs templates/redis/config/rubber/role/redis/redis.conf in rubber-2.13.0
- old
+ new
@@ -195,10 +195,10 @@
dir <%= rubber_env.redis_db_dir %>
<%-
redis_master = rubber_instances.for_role('redis_master').first
- if rubber_instances[rubber_env.host].role_names.include?('redis_slave')
+ if rubber_instance.role_names.include?('redis_slave')
%>
################################# REPLICATION #################################
# Master-Slave replication. Use slaveof to make a Redis instance a copy of
# another Redis server. Note that the configuration is local to the slave