~1chb1n/charms/trusty/ceph-osd/15.10-stable-flip-tests-helper-syncs

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/contrib/charmsupport/nrpe.py

  • Committer: Liam Young
  • Date: 2015-04-24 10:07:07 UTC
  • Revision ID: liam.young@canonical.com-20150424100707-id1xv3h8oycbqmik
Point charmhelper sync and amulet tests at stable branches

Show diffs side-by-side

added added

removed removed

Lines of Context:
247
247
 
248
248
        service('restart', 'nagios-nrpe-server')
249
249
 
250
 
        for rid in relation_ids("local-monitors"):
 
250
        monitor_ids = relation_ids("local-monitors") + \
 
251
            relation_ids("nrpe-external-master")
 
252
        for rid in monitor_ids:
251
253
            relation_set(relation_id=rid, monitors=yaml.dump(monitors))
252
254
 
253
255