Skip to content

Commit

Permalink
Updates the mount.fuse.ceph helper for pre-firefly
Browse files Browse the repository at this point in the history
  • Loading branch information
Walter Huf committed Sep 19, 2014
1 parent 6a9071e commit a3470c1
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 a3470c1

Please sign in to comment.