[MediaWiki-commits] [Gerrit] Add logs from 'misc' caches to kafka pipeline - change (operations/puppet)

2015-01-26 Thread Ottomata (Code Review)
Ottomata has submitted this change and it was merged.

Change subject: Add logs from 'misc' caches to kafka pipeline
..


Add logs from 'misc' caches to kafka pipeline

Change-Id: Ia3712a0d85ffa893912af2dff312017f03a7a935
---
M manifests/role/cache.pp
1 file changed, 11 insertions(+), 0 deletions(-)

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



diff --git a/manifests/role/cache.pp b/manifests/role/cache.pp
index 3848a85..dbb5e7e 100644
--- a/manifests/role/cache.pp
+++ b/manifests/role/cache.pp
@@ -1648,5 +1648,16 @@
 ]
 },
 }
+
+# ToDo: Remove production conditional once this works
+# is verified to work in labs.
+if $::realm == 'production' {
+# Install a varnishkafka producer to send
+# varnish webrequest logs to Kafka.
+class { 'role::cache::varnish::kafka::webrequest':
+topic = 'webrequest_misc',
+varnish_name = $::hostname,
+}
+}
 }
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia3712a0d85ffa893912af2dff312017f03a7a935
Gerrit-PatchSet: 5
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: QChris christ...@quelltextlich.at
Gerrit-Reviewer: Ottomata o...@wikimedia.org
Gerrit-Reviewer: QChris christ...@quelltextlich.at
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] Add logs from 'misc' caches to kafka pipeline - change (operations/puppet)

2015-01-10 Thread QChris (Code Review)
Hello Ottomata,

I'd like you to do a code review.  Please visit

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

to review the following change.

Change subject: Add logs from 'misc' caches to kafka pipeline
..

Add logs from 'misc' caches to kafka pipeline

Change-Id: Ia3712a0d85ffa893912af2dff312017f03a7a935
---
M manifests/role/cache.pp
1 file changed, 10 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/83/184183/1

diff --git a/manifests/role/cache.pp b/manifests/role/cache.pp
index 0dd66e5..65e63db 100644
--- a/manifests/role/cache.pp
+++ b/manifests/role/cache.pp
@@ -1590,5 +1590,15 @@
 ]
 },
 }
+
+# ToDo: Remove production conditional once this works
+# is verified to work in labs.
+if $::realm == 'production' {
+# Install a varnishkafka producer to send
+# varnish webrequest logs to Kafka.
+class { 'role::cache::varnish::kafka::webrequest':
+topic = 'webrequest_misc',
+}
+}
 }
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia3712a0d85ffa893912af2dff312017f03a7a935
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: QChris christ...@quelltextlich.at
Gerrit-Reviewer: Ottomata o...@wikimedia.org

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