Sha256: 26f9fedac94bd62466243d76f61ca57bef2985f6c73a77887c68700e41eda473

Contents?: true

Size: 836 Bytes

Versions: 7

Compression:

Stored size: 836 Bytes

Contents

module VagrantPlugins
  module Invade
    class Plugin < Vagrant.plugin('2')
      name 'invade command'
      description 'This plugin configures Vagrant for you'

      command(:invade) do
        require File.expand_path('../command/root', __FILE__)
        Command::Root
      end

      # Disable hook for now. Use commands instead of auto mode

      # Hook - Do all the invade magic before Vagrant itself comes alive
      # action_hook(:invade, :machine_action_up) do |hook|
      #   require 'vagrant-invade/action'
      #
      #   # 1. Checks config file
      #   # 2. Validates config file
      #   # 3. Generates Vagrantfile from invade config
      #   # 4. Creates generated Vagrantfile
      #   hook.prepend(Action.build)
      # end
    end

    autoload :Action, File.expand_path('../action/', __FILE__)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
vagrant-invade-0.8.0 lib/vagrant-invade/plugin.rb
vagrant-invade-0.7.0 lib/vagrant-invade/plugin.rb
vagrant-invade-0.6.4 lib/vagrant-invade/plugin.rb
vagrant-invade-0.6.3 lib/vagrant-invade/plugin.rb
vagrant-invade-0.6.2 lib/vagrant-invade/plugin.rb
vagrant-invade-0.6.1 lib/vagrant-invade/plugin.rb
vagrant-invade-0.6.0 lib/vagrant-invade/plugin.rb