Module: VagrantBindfs::Vagrant::Capabilities::Darwin::Bindfs

Defined in:
lib/vagrant-bindfs/vagrant/capabilities/darwin/bindfs.rb

Class Method Summary collapse

Class Method Details

.bindfs_bindfs_install(machine) ⇒ Object



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

def bindfs_bindfs_install(machine)
  machine.guest.capability(:bindfs_package_manager_update)
  machine.communicate.execute('brew install homebrew/fuse/bindfs')
end

.bindfs_bindfs_install_compilation_requirements(machine) ⇒ Object

Homebrew requires the development tools to be installed



24
25
26
27
# File 'lib/vagrant-bindfs/vagrant/capabilities/darwin/bindfs.rb', line 24

def bindfs_bindfs_install_compilation_requirements(machine)
  machine.guest.capability(:bindfs_package_manager_update)
  machine.communicate.execute('brew install autoconf automake libtool pkg-config wget')
end

.bindfs_bindfs_install_version(machine) ⇒ Object



19
20
21
# File 'lib/vagrant-bindfs/vagrant/capabilities/darwin/bindfs.rb', line 19

def bindfs_bindfs_install_version(machine)
  # Pass
end

.bindfs_bindfs_search_version(_machine, _version) ⇒ Object

Homebrew does not provide any method to install an older version of a formula



15
16
17
# File 'lib/vagrant-bindfs/vagrant/capabilities/darwin/bindfs.rb', line 15

def bindfs_bindfs_search_version(_machine, _version)
  false
end