Sha256: 1e6936a893a0cc7f5c919e49489034777e5938e2287b3da5782786e901a83342

Contents?: true

Size: 464 Bytes

Versions: 2

Compression:

Stored size: 464 Bytes

Contents

module VagrantPlugins
  module ShellCommander
    # 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(Action)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-shell-commander-0.3.1 lib/vagrant-shell-commander/plugin.rb
vagrant-shell-commander-0.3.0 lib/vagrant-shell-commander/plugin.rb