Class: VagrantHosts::Provisioner::Hosts
- Inherits:
-
Object
- Object
- VagrantHosts::Provisioner::Hosts
- Includes:
- Addresses
- Defined in:
- lib/vagrant-hosts/provisioner/hosts.rb
Instance Method Summary collapse
Instance Method Details
#cleanup ⇒ Object
14 15 16 |
# File 'lib/vagrant-hosts/provisioner/hosts.rb', line 14 def cleanup sync_hosts! if @config.sync_hosts end |
#provision ⇒ Object
9 10 11 12 |
# File 'lib/vagrant-hosts/provisioner/hosts.rb', line 9 def provision @machine.guest.capability(:sync_hosts, @config) sync_hosts! if @config.sync_hosts end |