From a3470c1628a51ff15e40ab6c979a87fb17d7fde7 Mon Sep 17 00:00:00 2001 From: Walter Huf Date: Fri, 19 Sep 2014 13:57:49 -0500 Subject: [PATCH] Updates the mount.fuse.ceph helper for pre-firefly --- recipes/cephfs_install.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/recipes/cephfs_install.rb b/recipes/cephfs_install.rb index 826997d..f75147c 100644 --- a/recipes/cephfs_install.rb +++ b/recipes/cephfs_install.rb @@ -3,3 +3,10 @@ node['ceph']['cephfs']['packages'].each do |pck| package pck end + +# Update the fuse.ceph helper for pre-firefly +remote_file '/sbin/mount.fuse.ceph' do + source 'https://raw.githubusercontent.com/ceph/ceph/master/src/mount.fuse.ceph' + only_if { ::File.exist?('/sbin/mount.fuse.ceph') } + not_if { ::File.readlines('/sbin/mount.fuse.ceph').grep(/_netdev/).any? } +end