Class: VagrantPlugins::HostsProvisioner::Provisioner
- Inherits:
-
Object
- Object
- VagrantPlugins::HostsProvisioner::Provisioner
- Defined in:
- lib/vagrant-servant-hosts-provisioner/provisioner.rb
Instance Method Summary collapse
-
#initialize(machine, config) ⇒ Provisioner
constructor
A new instance of Provisioner.
- #provision ⇒ Object
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
#provision ⇒ Object
12 13 14 |
# File 'lib/vagrant-servant-hosts-provisioner/provisioner.rb', line 12 def provision @hosts.add end |