Merge lp:~barryprice/charms/trusty/ubuntu-repository-cache/make_primary_nrpe into lp:charms/trusty/ubuntu-repository-cache

Proposed by Barry Price
Status: Merged
Merged at revision: 209
Proposed branch: lp:~barryprice/charms/trusty/ubuntu-repository-cache/make_primary_nrpe
Merge into: lp:charms/trusty/ubuntu-repository-cache
Diff against target: 11 lines (+1/-0)
1 file modified
lib/ubuntu_repository_cache/service.py (+1/-0)
To merge this branch: bzr merge lp:~barryprice/charms/trusty/ubuntu-repository-cache/make_primary_nrpe
Reviewer Review Type Date Requested Status
Chris Stratford (community) Approve
charmers Pending
Review via email: mp+284078@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Chris Stratford (chris-gondolin) wrote :

approve (I couldn't not really)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/ubuntu_repository_cache/service.py'
2--- lib/ubuntu_repository_cache/service.py 2015-09-11 15:51:59 +0000
3+++ lib/ubuntu_repository_cache/service.py 2016-01-27 10:05:59 +0000
4@@ -266,6 +266,7 @@
5 def update_checks():
6 '''Update Nagios checks for all services and add overall metadata check'''
7
8+ hookenv.relation_set(primary=True)
9 nrpe_config = nrpe.NRPE()
10
11 # Services

Subscribers

People subscribed via source and target branches

to all changes: