Dzahn has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/327691 )
Change subject: contint: combine contint1001/2001 in a single node regex
......................................................................
contint: combine contint1001/2001 in a single node regex
Now that both hosts are including identical roles we can merge
them into one regex. This way we see right away they are identical
and we can be sure to avoid subtle differences.
We will probably never change this since our actual switch
is in Hiera now.
Bug: T150771
Change-Id: Icb99b1a801b9168c0d9ba869984d5a8ccf668982
---
M manifests/site.pp
1 file changed, 2 insertions(+), 16 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/91/327691/1
diff --git a/manifests/site.pp b/manifests/site.pp
index a3f1bc9..04bea22 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -286,8 +286,8 @@
include base::firewall
}
-# CI master
-node 'contint1001.wikimedia.org' {
+# CI master / CI standby (switch in Hiera)
+node /^contint[12]001\.wikimedia\.org$/ {
role(ci::master,
ci::slave,
ci::website,
@@ -297,20 +297,6 @@
include standard
interface::add_ip6_mapped { 'main': interface => 'eth0', }
include contint::firewall
-}
-
-# CI warm
-node 'contint2001.wikimedia.org' {
- role(ci::master,
- ci::slave,
- ci::website,
- zuul::server,
- backup::host)
-
- include standard
- interface::add_ip6_mapped { 'main': interface => 'eth0', }
- include contint::firewall
-
}
# Debian package/docker images building host in production
--
To view, visit https://gerrit.wikimedia.org/r/327691
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icb99b1a801b9168c0d9ba869984d5a8ccf668982
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