Yuvipanda has uploaded a new change for review.

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

Change subject: ores: Allow customizing log_level
......................................................................

ores: Allow customizing log_level

Change-Id: I5a6fadd8aa6185dad39515c00585c38710a1184e
---
M modules/ores/manifests/worker.pp
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/47/237447/1

diff --git a/modules/ores/manifests/worker.pp b/modules/ores/manifests/worker.pp
index 6fa85f6..6fcb54f 100644
--- a/modules/ores/manifests/worker.pp
+++ b/modules/ores/manifests/worker.pp
@@ -1,4 +1,6 @@
-class ores::worker {
+class ores::worker(
+    $log_level = 'ERROR',
+} {
     require ores::base
 
     celery::worker { 'ores-worker':
@@ -7,5 +9,6 @@
         user            => 'www-data',
         group           => 'www-data',
         celery_bin_path => "${ores::base::venv_path}/bin/celery",
+        log_level       => $log_level,
     }
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5a6fadd8aa6185dad39515c00585c38710a1184e
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Yuvipanda <yuvipa...@wikimedia.org>

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

Reply via email to