Yuvipanda has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/216080

Change subject: toollabs: Specify redis IP manually
......................................................................

toollabs: Specify redis IP manually

ipresolve is still flaky, and this caused clients to
connect to tools-redis instead.

Change-Id: I53da68f75379c57116d08ca06e94b20f4e061014
---
M modules/toollabs/manifests/init.pp
1 file changed, 1 insertion(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/80/216080/1

diff --git a/modules/toollabs/manifests/init.pp 
b/modules/toollabs/manifests/init.pp
index 3f26bc3..3ddf630 100644
--- a/modules/toollabs/manifests/init.pp
+++ b/modules/toollabs/manifests/init.pp
@@ -15,6 +15,7 @@
     $proxies = ['tools-webproxy-01', 'tools-webproxy-02'],
     $active_proxy = 'tools-webproxy-01',
     $active_redis = 'tools-redis-01',
+    $active_redis_ip = '10.68.18.70'
 ) {
 
     include labs_lvm
@@ -215,9 +216,6 @@
         group  => 'root',
         source => 'puppet:///modules/toollabs/logrotate.crondaily',
     }
-
-    # Used by generated /etc/hosts file
-    $active_redis_ip = ipresolve($active_redis, 4, $::nameservers[0])
 
     diamond::collector::localcrontab { 'localcrontabcollector': }
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/216080
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I53da68f75379c57116d08ca06e94b20f4e061014
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Yuvipanda <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to