Lcarr has submitted this change and it was merged.
Change subject: nrpe-server is taking too long to stop and puppet times out -
restart should hopefully work better
......................................................................
nrpe-server is taking too long to stop and puppet times out - restart
should hopefully work better
Change-Id: I74e4a5b82c77c3b2b6906544df5ffa3b56273210
---
M manifests/nrpe.pp
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
Lcarr: Looks good to me, approved
jenkins-bot: Verified
diff --git a/manifests/nrpe.pp b/manifests/nrpe.pp
index 1566992..22e407a 100644
--- a/manifests/nrpe.pp
+++ b/manifests/nrpe.pp
@@ -192,6 +192,7 @@
require => [ Package[nagios-nrpe-server],
File["/etc/icinga/nrpe_local.cfg"], File["/usr/lib/nagios/plugins/check_dpkg"]
],
subscribe => File["/etc/icinga/nrpe_local.cfg"],
pattern => "/usr/sbin/nrpe",
+ hasrestart => true,
ensure => running;
}
--
To view, visit https://gerrit.wikimedia.org/r/51067
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I74e4a5b82c77c3b2b6906544df5ffa3b56273210
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Lcarr <[email protected]>
Gerrit-Reviewer: Lcarr <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits