anchor.diff:  # unmounting filesystems.
   dir <%= %Q("#{@sentinel['dir']}") %>
   
  +# sentinel myid <id>
  +#
  +# Unique 40 hex-characters long identification of the instance in the cluster
  +# This value is spread across all sentinels and each instance keep a list of
  +# "known" instances to calculate majority in a failover consensus voting.
  +<%= "sentinel myid #{@sentinel['myid']}" if @sentinel['myid'] %>
  +
   # sentinel monitor <master-name> <ip> <redis-port> <quorum>
   #
   # Tells Sentinel to monitor this master, and to consider it in O_DOWN
  
positive.code: # The valid charset is A-z 0-9 and the three characters ".-_".
  sentinel monitor <%= @redis['master_name'] %> <%= @redis['master_ip'] %> <%= @redis['master_port'] %> <%= @sentinel['quorum'] %>
  
  # sentinel auth-pass <master-name> <password>
  #
  # Set the password to use to authenticate with the master and slaves.
  
negative.code: #
  # Example:
  #
  sentinel auth-pass <%= @redis['master_name'] %> <%= @redis['master_password'] %>
  
  # SCRIPTS EXECUTION
  #
  