aboutsummaryrefslogtreecommitdiffstats
path: root/puppet
diff options
context:
space:
mode:
authorMichele Baldessari <michele@acksyn.org>2017-03-17 12:01:15 +0100
committerMichele Baldessari <michele@acksyn.org>2017-03-17 12:01:15 +0100
commitb6a7ac432c59aedd6bf9795270bfe7a58cd90379 (patch)
tree2ead3c8669b07f6ed49ead76c574c40bab447b9a /puppet
parent6e1213edc585eceb5b724b4f8ec08fc58fe6c318 (diff)
Bind redis-sentinel to its network
We currently do not bind redis-sentinel to any IP: redis 21144 0.0 0.0 142908 5908 ? Ssl 07:43 0:11 /usr/bin/redis-sentinel *:26379 [sentinel] Let's bind it to the same network as redis. Change-Id: I8a782ae1db84eb614aa3995a1638a2f370e70d06 Partial-Bug: #1673715
Diffstat (limited to 'puppet')
-rw-r--r--puppet/services/database/redis-base.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/puppet/services/database/redis-base.yaml b/puppet/services/database/redis-base.yaml
index 2b7dd430..af89ffb1 100644
--- a/puppet/services/database/redis-base.yaml
+++ b/puppet/services/database/redis-base.yaml
@@ -42,3 +42,4 @@ outputs:
redis::sentinel::master_name: "%{hiera('bootstrap_nodeid')}"
redis::sentinel::redis_host: "%{hiera('bootstrap_nodeid_ip')}"
redis::sentinel::notification_script: '/usr/local/bin/redis-notifications.sh'
+ redis::sentinel::sentinel_bind: {get_param: [ServiceNetMap, RedisNetwork]}