Module: VagrantBindfs::Vagrant::Capabilities::Darwin::Fuse
- Defined in:
- lib/vagrant-bindfs/vagrant/capabilities/darwin/fuse.rb
Class Method Summary collapse
- .bindfs_fuse_install(machine) ⇒ Object
- .bindfs_fuse_installed(machine) ⇒ Object
- .bindfs_fuse_load(machine) ⇒ Object
-
.bindfs_fuse_loaded(machine) ⇒ Object
OSXFuse is automatically loaded.
Class Method Details
.bindfs_fuse_install(machine) ⇒ Object
12 13 14 15 |
# File 'lib/vagrant-bindfs/vagrant/capabilities/darwin/fuse.rb', line 12 def bindfs_fuse_install(machine) machine.guest.capability(:bindfs_package_manager_update) machine.communicate.execute('brew tap caskroom/cask && brew cask install osxfuse') end |
.bindfs_fuse_installed(machine) ⇒ Object
8 9 10 |
# File 'lib/vagrant-bindfs/vagrant/capabilities/darwin/fuse.rb', line 8 def bindfs_fuse_installed(machine) machine.communicate.test('test -d /Library/Frameworks/OSXFUSE.framework/') end |
.bindfs_fuse_load(machine) ⇒ Object
24 25 26 |
# File 'lib/vagrant-bindfs/vagrant/capabilities/darwin/fuse.rb', line 24 def bindfs_fuse_load(machine) machine.guest.capability(:bindfs_fuse_installed) end |
.bindfs_fuse_loaded(machine) ⇒ Object
OSXFuse is automatically loaded. Just check if it is installed
20 21 22 |
# File 'lib/vagrant-bindfs/vagrant/capabilities/darwin/fuse.rb', line 20 def bindfs_fuse_loaded(machine) machine.guest.capability(:bindfs_fuse_installed) end |