Ottomata has uploaded a new change for review.

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

Change subject: Move custom researcher group researchdb password file 
definition into cruncher role class
......................................................................

Move custom researcher group researchdb password file definition into cruncher 
role class

Change-Id: If47ec117caee8ccdbe7dc6b9185de70818d78f1f
---
M manifests/role/statistics.pp
M modules/statistics/manifests/compute.pp
2 files changed, 11 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/02/186502/1

diff --git a/manifests/role/statistics.pp b/manifests/role/statistics.pp
index 1a78fc0..b98a649 100644
--- a/manifests/role/statistics.pp
+++ b/manifests/role/statistics.pp
@@ -143,6 +143,17 @@
 
     # include stuff common to statistics compute nodes
     include statistics::compute
+
+    include passwords::mysql::research
+    # This file will render at
+    # /etc/mysql/conf.d/research-client.cnf.
+    mysql::config::client { 'research':
+        user  => $::passwords::mysql::research::user,
+        pass  => $::passwords::mysql::research::pass,
+        group => 'researchers',
+        mode  => '0440',
+    }
+
     #
     # # Aaron Halfaker (halfak) wants MongoDB for his project.
     # class { 'mongodb':
diff --git a/modules/statistics/manifests/compute.pp 
b/modules/statistics/manifests/compute.pp
index 587c73f..bd95d01 100644
--- a/modules/statistics/manifests/compute.pp
+++ b/modules/statistics/manifests/compute.pp
@@ -106,14 +106,6 @@
 
     include passwords::mysql::research
     # This file will render at
-    # /etc/mysql/conf.d/research-client.cnf.
-    mysql::config::client { 'research':
-        user  => $::passwords::mysql::research::user,
-        pass  => $::passwords::mysql::research::pass,
-        group => 'researchers',
-        mode  => '0440',
-    }
-    # This file will render at
     # /etc/mysql/conf.d/stats-research-client.cnf.
     mysql::config::client { 'stats-research':
         user  => $::passwords::mysql::research::user,

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

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

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

Reply via email to