Muehlenhoff has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/399420 )

Change subject: Extend sudo configuration for pdns-recursor on labservices
......................................................................


Extend sudo configuration for pdns-recursor on labservices

Change-Id: Icdb7b8c872e6cd2a627dc02fb1e63ff8bf6ee300
---
M modules/profile/manifests/openstack/base/pdns/recursor/monitor/rec_control.pp
1 file changed, 5 insertions(+), 0 deletions(-)

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



diff --git 
a/modules/profile/manifests/openstack/base/pdns/recursor/monitor/rec_control.pp 
b/modules/profile/manifests/openstack/base/pdns/recursor/monitor/rec_control.pp
index 2160e7d..2b70dea 100644
--- 
a/modules/profile/manifests/openstack/base/pdns/recursor/monitor/rec_control.pp
+++ 
b/modules/profile/manifests/openstack/base/pdns/recursor/monitor/rec_control.pp
@@ -5,6 +5,11 @@
         privileges => ['ALL=(root) NOPASSWD: /usr/bin/rec_control get-all'],
     }
 
+    sudo::user { 'prometheus_sudo_for_pdns_recursor':
+        user       => 'prometheus',
+        privileges => ['ALL=(root) NOPASSWD: /usr/bin/rec_control get-all'],
+    }
+
     # For the recursor
     diamond::collector { 'PowerDNSRecursor':
         source   => 'puppet:///modules/diamond/collector/powerdns_recursor.py',

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Icdb7b8c872e6cd2a627dc02fb1e63ff8bf6ee300
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Muehlenhoff <mmuhlenh...@wikimedia.org>
Gerrit-Reviewer: Muehlenhoff <mmuhlenh...@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