Jcrespo has uploaded a new change for review.

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

Change subject: mariadb: implement custom mysqld_safe script to all servers
......................................................................

mariadb: implement custom mysqld_safe script to all servers

Enforce it to those that are using the wmf-mariadb or wmf-mariadb10
packages.

Bug: T145378
Change-Id: I204dd59b0569572062c62894546b567297cc9a6f
---
M manifests/site.pp
M modules/mariadb
2 files changed, 3 insertions(+), 20 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/82/311682/1

diff --git a/manifests/site.pp b/manifests/site.pp
index 3915a71..4f420fe 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -548,15 +548,7 @@
     }
 }
 
-node /^db10(26|45|70|71|87|92)\.eqiad\.wmnet/ {
-    class { 'role::mariadb::core':
-        shard => 's5',
-    }
-}
-
-# temporary definition for mysqld_safe testing
-node 'db1082.eqiad.wmnet' {
-    role mariadb::custom_mysqld_safe
+node /^db10(26|45|70|71|82|87|92)\.eqiad\.wmnet/ {
     class { 'role::mariadb::core':
         shard => 's5',
     }
@@ -589,20 +581,11 @@
     }
 }
 
-node /^db10(22|23|30|37|85|88|93)\.eqiad\.wmnet/ {
+node /^db10(22|23|30|37|61|85|88|93)\.eqiad\.wmnet/ {
     class { 'role::mariadb::core':
         shard => 's6',
     }
 }
-
-# temporary definition for mysqld_safe testing
-node 'db1061.eqiad.wmnet' {
-    role mariadb::custom_mysqld_safe
-    class { 'role::mariadb::core':
-        shard => 's6',
-    }
-}
-
 
 # s6 core production dbs on codfw
 # codfw master
diff --git a/modules/mariadb b/modules/mariadb
index d8fb107..1b846eb 160000
--- a/modules/mariadb
+++ b/modules/mariadb
@@ -1 +1 @@
-Subproject commit d8fb10738df0945260114f51715c059537db4342
+Subproject commit 1b846eb222a81120af0c995df97afd57751b3e04

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I204dd59b0569572062c62894546b567297cc9a6f
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Jcrespo <jcre...@wikimedia.org>

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

Reply via email to