3
from charmhelpers.core import hookenv
6
def nrpe_external_master_relation_joined():
7
'''Set us as the primary relation'''
8
rel_id = hookenv.relation_id()
9
hookenv.relation_set(rel_id, primary=True)
12
if __name__ == '__main__':
13
nrpe_external_master_relation_joined()