Faidon has uploaded a new change for review.
https://gerrit.wikimedia.org/r/79805
Change subject: Temporary setup of new authdns servers
......................................................................
Temporary setup of new authdns servers
rubidium, mexia and eeden are the designated to become ns0/ns1/ns2. We
already have role classes for those but this will mess up production if
prematurely applied (nagios check, ssh host keys for nsN, IPs) and they
won't work, as the scripts try to SSH to the service hostnames.
Before putting them into prod though, we'd like to run a few tests, so
add some rudimentary setup on those boxes and use the authdns class
directly from site.pp. Ugly, non-DRY but very temporary :)
Change-Id: Ide7666813b52eae9d5f8f5730d83164b838f8cc5
---
M manifests/site.pp
1 file changed, 51 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/05/79805/1
diff --git a/manifests/site.pp b/manifests/site.pp
index ea36fe4..5836e06 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -794,6 +794,23 @@
include standard
}
+node 'eeden.esams.wikimedia.org' {
+ # FIXME: to be switched to role::authdns::ns2 after the transition
+ include standard
+
+ $gitrepo = 'https://gerrit.wikimedia.org/r/p/operations/dns.git'
+ $nameservers = [
+ 'rubidium.wikimedia.org',
+ 'mexia.wikimedia.org',
+ 'eeden.esams.wikimedia.org',
+ ]
+
+ class { 'authdns':
+ nameservers => $nameservers,
+ gitrepo => $gitrepo,
+ }
+}
+
node "ekrem.wikimedia.org" {
include standard,
misc::irc-server,
@@ -1807,6 +1824,23 @@
class { role::db::redis : redis_replication => $redis_replication }
}
+node 'rubidium.wikimedia.org' {
+ # FIXME: to be switched to role::authdns::ns0 after the transition
+ include standard
+
+ $gitrepo = 'https://gerrit.wikimedia.org/r/p/operations/dns.git'
+ $nameservers = [
+ 'rubidium.wikimedia.org',
+ 'mexia.wikimedia.org',
+ 'eeden.esams.wikimedia.org',
+ ]
+
+ class { 'authdns':
+ nameservers => $nameservers,
+ gitrepo => $gitrepo,
+ }
+}
+
node "mchenry.wikimedia.org" {
$gid = 500
@@ -1836,6 +1870,23 @@
class { misc::maintenance::mail_exim_aliases: enabled => true }
}
+node 'mexia.wikimedia.org' {
+ # FIXME: to be switched to role::authdns::ns1 after the transition
+ include standard
+
+ $gitrepo = 'https://gerrit.wikimedia.org/r/p/operations/dns.git'
+ $nameservers = [
+ 'rubidium.wikimedia.org',
+ 'mexia.wikimedia.org',
+ 'eeden.esams.wikimedia.org',
+ ]
+
+ class { 'authdns':
+ nameservers => $nameservers,
+ gitrepo => $gitrepo,
+ }
+}
+
node /mobile100[1-4]\.wikimedia\.org/ {
include standard-noexim
}
--
To view, visit https://gerrit.wikimedia.org/r/79805
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ide7666813b52eae9d5f8f5730d83164b838f8cc5
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits