Merge lp:~brad-marshall/charms/trusty/thruk-agent/add-nrpe-restart into lp:~canonical-bootstack/charms/trusty/thruk-agent/trunk

Proposed by Brad Marshall
Status: Needs review
Proposed branch: lp:~brad-marshall/charms/trusty/thruk-agent/add-nrpe-restart
Merge into: lp:~canonical-bootstack/charms/trusty/thruk-agent/trunk
Diff against target: 20 lines (+2/-1)
1 file modified
hooks/services.py (+2/-1)
To merge this branch: bzr merge lp:~brad-marshall/charms/trusty/thruk-agent/add-nrpe-restart
Reviewer Review Type Date Requested Status
Peter Sabaini (community) Approve
Review via email: mp+269452@code.launchpad.net

Description of the change

Add a nrpe restart after rendering the templates

To post a comment you must log in.
Revision history for this message
Peter Sabaini (peter-sabaini) wrote :

This is quite old, but lgtm fwiw

review: Approve

Unmerged revisions

37. By Brad Marshall

[bradm] Add a nrpe restart

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'hooks/services.py'
--- hooks/services.py 2015-05-26 00:30:33 +0000
+++ hooks/services.py 2015-08-28 01:21:53 +0000
@@ -2,7 +2,7 @@
22
3from charmhelpers.core.services.base import ServiceManager3from charmhelpers.core.services.base import ServiceManager
4from charmhelpers.core.services import helpers4from charmhelpers.core.services import helpers
5from charmhelpers.core import hookenv5from charmhelpers.core import hookenv, host
66
7import actions7import actions
8import thruk_helpers8import thruk_helpers
@@ -47,6 +47,7 @@
47 hookenv.local_unit().replace('/', '-'),47 hookenv.local_unit().replace('/', '-'),
48 )48 )
49 ),49 ),
50 host.service_restart("nagios-nrpe-server")
50 ],51 ],
51 },52 },
52 ])53 ])

Subscribers

People subscribed via source and target branches