Sha256: 83bff2945e08659e8ce95ca7531d369739f3c5f737c0c2fc3828fb7b77015e6c

Contents?: true

Size: 566 Bytes

Versions: 4

Compression:

Stored size: 566 Bytes

Contents

begin
  require 'vagrant'
rescue LoadError
  raise 'The vagrant-host-shell plugin must be run within Vagrant.'
end

module VagrantPlugins::HostShell
  class Plugin < Vagrant.plugin('2')
    name 'vagrant-host-shell'
    description <<-DESC.gsub(/^ +/, '')
      A simple provisioner to run commands on the host at machine
      boot, instead of the guest.
    DESC

    config(:host_shell, :provisioner) do
      require_relative 'config'
      Config
    end

    provisioner(:host_shell) do
      require_relative 'provisioner'
      Provisioner
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagrant-host-shell-0.0.4 lib/vagrant-host-shell/plugin.rb
vagrant-host-shell-0.0.3 lib/vagrant-host-shell/plugin.rb
vagrant-host-shell-0.0.2 lib/vagrant-host-shell/plugin.rb
vagrant-host-shell-0.0.1 lib/vagrant-host-shell/plugin.rb