Set the remote

This commit is contained in:
Chris Holcombe 2016-10-07 14:35:34 -07:00
parent fadebbc6d7
commit 8a1ab79ed0
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,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=local_unit())