Dzahn has uploaded a new change for review.
https://gerrit.wikimedia.org/r/260770
Change subject: add an url-downloader service in codfw
......................................................................
add an url-downloader service in codfw
Per T122134 we want an additional url-downloader
service and not just a single one in eqiad on chromium.
This picks "acamar" in codfw to become another url-downloader,
because it is a dnsrecursor and that's where we put it in eqiad.
This code snippet is an exact copy of the existing snippet used
for nodes chrome and hydrogen. I just changed the hostname to keep
it exactly the same.
Bug:T122134
Change-Id: Ia28d3b88d1d21be24f6e436768eabb8498c0852a
---
M manifests/site.pp
1 file changed, 11 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/70/260770/1
diff --git a/manifests/site.pp b/manifests/site.pp
index 7733970..1db8d14 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -45,6 +45,17 @@
role dnsrecursor
include standard
+ if $::hostname == 'acamar' {
+ $url_downloader_ip = hiera('url_downloader_ip')
+ interface::ip { 'url-downloader':
+ interface => 'eth0',
+ address => $url_downloader_ip,
+ }
+ class { 'role::url_downloader':
+ url_downloader_ip => $url_downloader_ip
+ }
+ }
+
interface::add_ip6_mapped { 'main':
interface => 'eth0',
}
--
To view, visit https://gerrit.wikimedia.org/r/260770
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia28d3b88d1d21be24f6e436768eabb8498c0852a
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits