Skip to content

Commit

Permalink
protected_mode: ignore on Ubuntu 16.04
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Oct 8, 2020
1 parent 7307936 commit da94006
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/redis-sentinel.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ port <%= @sentinel_port %>
dir <%= @working_dir %>
daemonize <%= @daemonize ? 'yes' : 'no' %>
pidfile <%= @pid_file %>
<% if @facts['os']['release']['major'] != '16.04' -%>
protected-mode <%= @protected_mode ? 'yes' : 'no' %>
<% end -%>

sentinel monitor <%= @master_name %> <%= @redis_host %> <%= @redis_port %> <%= @quorum %>
sentinel down-after-milliseconds <%= @master_name %> <%= @down_after %>
Expand Down

0 comments on commit da94006

Please sign in to comment.