From 8ab2a2157f265f3cdc535d544e73e6ae0dcbb102 Mon Sep 17 00:00:00 2001 From: Walter Huf Date: Tue, 25 Nov 2014 16:22:54 -0600 Subject: [PATCH] Fixes switching cephfs mode based on the attribute --- recipes/cephfs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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