Add relation param to setup_mds

This commit is contained in:
Chris Holcombe 2016-10-21 10:47:14 -07:00
parent 2253a11710
commit 1829282205
1 changed files with 2 additions and 2 deletions

View File

@ -29,9 +29,9 @@ def install_cephfs():
@when('cephfs.configured')
@when('cephfs.pools.created')
@when('ceph-mds.pools.available')
@when_not('cephfs.started')
def setup_mds():
def setup_mds(relation):
try:
service_restart('ceph-mds')
set_state('cephfs.started')