Module: VagrantBindfs::Vagrant::Capabilities::Linux::Fuse

Defined in:
lib/vagrant-bindfs/vagrant/capabilities/linux/fuse.rb

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.bindfs_fuse_installed(machine) ⇒ Object



9
10
11
# File 'lib/vagrant-bindfs/vagrant/capabilities/linux/fuse.rb', line 9

def bindfs_fuse_installed(machine)
  machine.communicate.test('test -f /etc/fuse.conf')
end

.bindfs_fuse_load(machine) ⇒ Object



17
18
19
# File 'lib/vagrant-bindfs/vagrant/capabilities/linux/fuse.rb', line 17

def bindfs_fuse_load(machine)
  machine.communicate.sudo('/sbin/modprobe fuse')
end

.bindfs_fuse_loaded(machine) ⇒ Object



13
14
15
# File 'lib/vagrant-bindfs/vagrant/capabilities/linux/fuse.rb', line 13

def bindfs_fuse_loaded(machine)
  machine.communicate.test('lsmod | grep -q fuse')
end