From: Walter Huf Date: Fri, 19 Sep 2014 18:57:49 +0000 (-0500) Subject: Updates the mount.fuse.ceph helper for pre-firefly X-Git-Tag: v0.8.0~19^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F152%2Fhead;p=ceph-cookbooks.git Updates the mount.fuse.ceph helper for pre-firefly --- 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 @@ include_recipe 'ceph::_common_install' 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