Sha256: 67e1b04cad90522d31bfdc6d62a16c1794867a8cabfd3f04d0d1ccc49de42744

Contents?: true

Size: 474 Bytes

Versions: 4

Compression:

Stored size: 474 Bytes

Contents

require 'vagrant'
require 'tempfile'

module VagrantHosts
  class Provisioner < Vagrant.plugin('2', :provisioner)

    require 'vagrant-hosts/provisioner/hostname'
    require 'vagrant-hosts/provisioner/linux'

    def initialize(machine, config)
      @machine, @config = machine, config
    end

    # @todo use guest capabilities instead of hardcoded provisioner provider
    def provision
      driver = Linux.new(@machine, @config)
      driver.sync!
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagrant-hosts-1.1.5 lib/vagrant-hosts/provisioner.rb
vagrant-hosts-1.1.4 lib/vagrant-hosts/provisioner.rb
vagrant-hosts-1.1.3 lib/vagrant-hosts/provisioner.rb
vagrant-hosts-1.1.2 lib/vagrant-hosts/provisioner.rb