Pyoungmeister has uploaded a new change for review.

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


Change subject: mariadb test boxes for pmtpa s2-5
......................................................................

mariadb test boxes for pmtpa s2-5

Change-Id: I00c8299af5983db8e6e3d429e4d7ce9fb84e16d0
---
M manifests/site.pp
1 file changed, 20 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/76/50276/1

diff --git a/manifests/site.pp b/manifests/site.pp
index f4acfed..4457f2a 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -365,22 +365,38 @@
 }
 
 node /db(52|53|54|57)\.pmtpa\.wmnet/ {
-       include role::coredb::s2
+       if $hostname == "db52" {
+               class { role::coredb::s2 : mariadb => true }
+       } else {
+               include role::coredb::s2
+       }
 }
 
 node /db(34|39|64|66)\.pmtpa\.wmnet/ {
-       include role::coredb::s3
+       if $hostname == "db39" {
+               class { role::coredb::s3 : mariadb => true }
+       } else {
+               include role::coredb::s3
+       }
 }
 
 node /db(31|33|51|65)\.pmtpa\.wmnet/ {
        if $hostname =~ /^db51/ {
                $ganglia_aggregator = "true"
        }
-       include role::coredb::s4
+       if $hostname == "db51" {
+               class { role::coredb::s4 : mariadb => true }
+       } else {
+               include role::coredb::s4
+       }
 }
 
 node /db(35|44|45|55)\.pmtpa\.wmnet/ {
-       include role::coredb::s5
+       if $hostname == "db35" {
+               class { role::coredb::s5 : mariadb => true }
+       } else {
+               include role::coredb::s5
+       }
 }
 
 node /db(43|46|47|50)\.pmtpa\.wmnet/ {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I00c8299af5983db8e6e3d429e4d7ce9fb84e16d0
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Pyoungmeister <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to