Tim Landscheidt has uploaded a new change for review.

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


Change subject: WIP: Tools: Puppetize LabsDB aliases and /etc/hosts
......................................................................

WIP: Tools: Puppetize LabsDB aliases and /etc/hosts

Change-Id: I85375334e8977b0084e88e67cf177581445f6c6b
---
M modules/toollabs/manifests/exec_environ.pp
1 file changed, 17 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/03/107103/1

diff --git a/modules/toollabs/manifests/exec_environ.pp 
b/modules/toollabs/manifests/exec_environ.pp
index dc7d572..2d110b5 100644
--- a/modules/toollabs/manifests/exec_environ.pp
+++ b/modules/toollabs/manifests/exec_environ.pp
@@ -19,6 +19,23 @@
     include generic::locales::international
     include identd
 
+    # Set up host aliases and NAT for LabsDB.
+    include role::labsdb::client
+
+    # Make tools.wmflabs.org work by aliasing it to tools-webproxy.
+    host { 'tools.wmflabs.org':
+        ip => '10.4.1.89',
+        host_aliases => 'tools';
+    }
+
+    # TODO: Remove when files have been removed.
+    file { '/data/project/.system/hosts':
+        ensure => absent;
+    }
+    file { '/data/project/.system/iptables.conf':
+        ensure => absent;
+    }
+
     package { [
         # Please keep all packages in each group sorted in alphabetical order
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I85375334e8977b0084e88e67cf177581445f6c6b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Tim Landscheidt <t...@tim-landscheidt.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to