Class: VagrantPlugins::HostsProvisioner::Provisioner

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-servant-hosts-provisioner/provisioner.rb

Instance Method Summary collapse

Constructor Details

#initialize(machine, config) ⇒ Provisioner

Returns a new instance of Provisioner.



7
8
9
10
# File 'lib/vagrant-servant-hosts-provisioner/provisioner.rb', line 7

def initialize(machine, config)
  @hosts = Hosts.new(machine, config)
  super
end

Instance Method Details

#provisionObject



12
13
14
# File 'lib/vagrant-servant-hosts-provisioner/provisioner.rb', line 12

def provision
  @hosts.add
end