Sha256: 4ff200698bea62bb1bf61749137a925f6be148c5628bb6096d1a2af8a0647bfa

Contents?: true

Size: 414 Bytes

Versions: 1

Compression:

Stored size: 414 Bytes

Contents

module VagrantShellCommander
  # Plugin definition
  #
  class Plugin < Vagrant.plugin("2")
    name 'vagrant shell commander'

    command 'sh' do
      Command
    end

    config 'sh' do
      Config
    end

    %w[up reload].each do |event|
      action_hook("sh_hook_#{event}".to_sym, "machine_action_#{event}".to_sym) do |hook|
        hook.append(VagrantShellCommander::Action)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-shell-commander-0.2.0 lib/vagrant-shell-commander/plugin.rb