diff --git a/providers/cephfs.rb b/providers/cephfs.rb index 1205afb..57e9a63 100644 --- a/providers/cephfs.rb +++ b/providers/cephfs.rb @@ -29,6 +29,7 @@ def manage_mount(directory, subdir, use_fuse, action) dump 0 pass 0 action action + not_if "mount | grep \"^ceph-fuse on #{Regexp.escape(directory)}\"" if action == :mount end else mons = mon_addresses.sort.join(',') + ':' + subdir