From: Walter Huf Date: Tue, 25 Nov 2014 22:22:54 +0000 (-0600) Subject: Fixes switching cephfs mode based on the attribute X-Git-Tag: v0.8.1~9^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8ab2a2157f265f3cdc535d544e73e6ae0dcbb102;p=ceph-cookbooks.git Fixes switching cephfs mode based on the attribute --- diff --git a/recipes/cephfs.rb b/recipes/cephfs.rb index 2e65dad..0c713f9 100644 --- a/recipes/cephfs.rb +++ b/recipes/cephfs.rb @@ -18,6 +18,6 @@ # limitations under the License. ceph_cephfs node['ceph']['cephfs_mount'] do - use_fuse node['ceph']['cephfs_use_fuse'] || cephfs_requires_fuse + use_fuse node['ceph']['cephfs_use_fuse'].nil? ? cephfs_requires_fuse : node['ceph']['cephfs_use_fuse'] action [:mount, :enable] end