Faidon Liambotis has submitted this change and it was merged. Change subject: Add role::statsd; provision on tungsten; grant self access ......................................................................
Add role::statsd; provision on tungsten; grant self access tungsten is the eqiad host slotted to replace professor.pmtpa as the primary graphite and statsd host. This patch declares tungsten in site.pp and applies a new 'role::statsd' to it. It also grants me access with sudo. RT: 5871 Change-Id: I3a28d36cdbae90f5a6c4276dc445a94d56da6f52 --- A manifests/role/statsd.pp M manifests/site.pp 2 files changed, 27 insertions(+), 0 deletions(-) Approvals: Faidon Liambotis: Looks good to me, approved jenkins-bot: Verified diff --git a/manifests/role/statsd.pp b/manifests/role/statsd.pp new file mode 100644 index 0000000..707b55a --- /dev/null +++ b/manifests/role/statsd.pp @@ -0,0 +1,14 @@ +# == Class: role::statsd +# +# StatsD is a simple network daemon that listens to application metrics +# and aggregates them for easy plotting and analysis in Graphite or +# Ganglia. +# +class role::statsd { + class { '::statsd': + settings => { + backends => [ 'graphite' ], + graphiteHost => 'professor.pmtpa.wmnet', + }, + } +} diff --git a/manifests/site.pp b/manifests/site.pp index 669eb59..b2ea320 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -2908,6 +2908,19 @@ } } +# StatsD & Graphite host for eqiad. Slotted to replace professor.pmtpa. +# RT #5871 +node 'tungsten.eqiad.wmnet' { + # services + include standard, role::statsd + + # access + include groups::wikidev, accounts::olivneh + sudo_user { 'olivneh': + privileges => ['ALL = (ALL) NOPASSWD: ALL'], + } +} + node "virt1000.wikimedia.org" { $cluster = "virt" $ganglia_aggregator = true -- To view, visit https://gerrit.wikimedia.org/r/87636 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I3a28d36cdbae90f5a6c4276dc445a94d56da6f52 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Ori.livneh <o...@wikimedia.org> Gerrit-Reviewer: Faidon Liambotis <fai...@wikimedia.org> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits