Module: VagrantBindfs::Vagrant::Capabilities::Gentoo::PackageManager

Defined in:
lib/vagrant-bindfs/vagrant/capabilities/gentoo/package_manager.rb

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.bindfs_package_manager_name(_machine) ⇒ Object



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

def bindfs_package_manager_name(_machine)
  'emerge'
end

.bindfs_package_manager_update(machine) ⇒ Object



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

def bindfs_package_manager_update(machine)
  machine.communicate.sudo('emaint -a sync')
end