Skip to content

Commit

Permalink
Merge pull request #152 from hufman/prefirefly-fuse-mount
Browse files Browse the repository at this point in the history
Updates the mount.fuse.ceph helper for pre-firefly versions
  • Loading branch information
hufman committed Sep 19, 2014
2 parents 688392b + a3470c1 commit ad2e257
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions recipes/cephfs_install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ad2e257

Please sign in to comment.