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
1=== modified file 'hooks/services.py'
2--- hooks/services.py 2015-05-26 00:30:33 +0000
3+++ hooks/services.py 2015-08-28 01:21:53 +0000
4@@ -2,7 +2,7 @@
5
6 from charmhelpers.core.services.base import ServiceManager
7 from charmhelpers.core.services import helpers
8-from charmhelpers.core import hookenv
9+from charmhelpers.core import hookenv, host
10
11 import actions
12 import thruk_helpers
13@@ -47,6 +47,7 @@
14 hookenv.local_unit().replace('/', '-'),
15 )
16 ),
17+ host.service_restart("nagios-nrpe-server")
18 ],
19 },
20 ])

Subscribers

People subscribed via source and target branches