Dzahn has uploaded a new change for review.

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

Change subject: add url-downloader in codfw on alsafi
......................................................................

add url-downloader in codfw on alsafi

Bug:T122134
Change-Id: Icf6e5eb339bd34a80751c457d96634842fcbdf0b
---
A hieradata/hosts/alsafi.yaml
M manifests/site.pp
2 files changed, 17 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/05/264205/1

diff --git a/hieradata/hosts/alsafi.yaml b/hieradata/hosts/alsafi.yaml
new file mode 100644
index 0000000..c1c1804
--- /dev/null
+++ b/hieradata/hosts/alsafi.yaml
@@ -0,0 +1 @@
+url_downloader_ip: 208.80.153.51
diff --git a/manifests/site.pp b/manifests/site.pp
index 5e08d03..0e16f42 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -53,6 +53,22 @@
 # url-downloader codfw
 node 'alsafi.wikimedia.org' {
     include standard
+
+    $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',
+    }
+
 }
 
 # analytics1001 is the Hadoop master node:

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icf6e5eb339bd34a80751c457d96634842fcbdf0b
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

Reply via email to