From cea2b9beb45c5612059a8e9a46613bfec17bd37c Mon Sep 17 00:00:00 2001 From: Chris Holcombe Date: Fri, 7 Oct 2016 14:35:34 -0700 Subject: [PATCH] Set the remote --- requires.py | 1 + 1 file changed, 1 insertion(+) diff --git a/requires.py b/requires.py index 0cef20c..b51bc7e 100644 --- a/requires.py +++ b/requires.py @@ -20,6 +20,7 @@ class CephClient(RelationBase): @hook('{requires:ceph-mds}-relation-{joined}') def joined(self): + self.set_remote(key='mds-name', value=socket.gethostname()) self.set_state('{relation_name}.connected') self.initialize_mds(name=socket.gethostname())