Class: VagrantBolt::Provisioner

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

Instance Method Summary collapse

Instance Method Details

#cleanupObject



15
16
17
# File 'lib/vagrant-bolt/provisioner.rb', line 15

def cleanup
  # We don't do any clean up for this provisioner
end

#provisionObject

Provision VMs with Bolt Creates a trigger for each bolt provisioner



10
11
12
13
# File 'lib/vagrant-bolt/provisioner.rb', line 10

def provision
  runner = VagrantBolt::Runner.new(@machine.env, @machine, @config)
  runner.run(@config.command, @config.name)
end