Sha256: 0d9800b12ef6f7964560e034f88e7fdff1b44e17bdea9b3c9cffec7e4fb43a51

Contents?: true

Size: 808 Bytes

Versions: 1

Compression:

Stored size: 808 Bytes

Contents

require "vagrant-ssh-config/Action/UpdateConfig"

module VagrantPlugins
    module SshConfig
        class Plugin < Vagrant.plugin('2')

            name 'SshConfig'

            description <<-DESC
                This plugin does stuff.
            DESC

            action_hook(:ssh, :machine_action_up) do |hook|
                hook.after(Vagrant::Action::Builtin::WaitForCommunicator, Action::UpdateConfig)
            end

            action_hook(:ssh, :machine_action_reload) do |hook|
                hook.after(Vagrant::Action::Builtin::WaitForCommunicator, Action::UpdateConfig)
            end

            action_hook(:ssh, :machine_action_resume) do |hook|
                hook.after(Vagrant::Action::Builtin::WaitForCommunicator, Action::UpdateConfig)
            end

        end
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-ssh-config-0.0.1 lib/vagrant-ssh-config/plugin.rb