coren has submitted this change and it was merged.

Change subject: Deprecating mariadb::labsdb
......................................................................


Deprecating mariadb::labsdb

It sould be substituted soon by labs::db::slave and
labs::db::master, but it is still in use.

"Mark explicitly asked the labs team to have ownership of the
labs db (with our DBA's help of course)"

Change-Id: I1734806c8f872af5bf15755c7332a29433a28baf
---
M manifests/role/mariadb.pp
M manifests/site.pp
2 files changed, 5 insertions(+), 0 deletions(-)

Approvals:
  coren: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/manifests/role/mariadb.pp b/manifests/role/mariadb.pp
index edeeb6e..f0d3449 100644
--- a/manifests/role/mariadb.pp
+++ b/manifests/role/mariadb.pp
@@ -467,6 +467,8 @@
 }
 
 # MariaDB 10 labsdb multiple-shards slave.
+# This role is deprecated but still in use
+# It should be migrated to labs::db::slave
 class role::mariadb::labs {
 
     system::role { 'role::mariadb::labs':
diff --git a/manifests/site.pp b/manifests/site.pp
index f032ccb..f7f35e7 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -1262,14 +1262,17 @@
 
 ## labsdb dbs
 node 'labsdb1001.eqiad.wmnet' {
+    # this role is depecated and should be converted to labs::db::slave
     include role::mariadb::labs
 }
 
 node 'labsdb1002.eqiad.wmnet' {
+    # this role is depecated and should be converted to labs::db::slave
     include role::mariadb::labs
 }
 
 node 'labsdb1003.eqiad.wmnet' {
+    # this role is depecated and should be converted to labs::db::slave
     include role::mariadb::labs
 }
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I1734806c8f872af5bf15755c7332a29433a28baf
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Jcrespo <jcre...@wikimedia.org>
Gerrit-Reviewer: Springle <sprin...@wikimedia.org>
Gerrit-Reviewer: coren <mpellet...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to