Sha256: c2ff76302f0a53effb86c52836fe79a1929ef2f8f2b7d5c30935c2ab12a1a09c
Contents?: true
Size: 1.19 KB
Versions: 20
Compression:
Stored size: 1.19 KB
Contents
require 'pathname' require 'vagrant/action/builder' module VagrantPlugins module Invade module Action # This middleware sequence will only validate the invade configuration file def self.validate Vagrant::Action::Builder.new.tap do |builder| builder.use Config builder.use Validate end end # This middleware sequence will validate and build the Vagrantfile def self.build Vagrant::Action::Builder.new.tap do |builder| builder.use Config builder.use Validate builder.use Generate builder.use Create end end # This middleware sequence will init a InVaDE configuration file def self.init Vagrant::Action::Builder.new.tap do |builder| builder.use Init end end # The autoload farm action_root = Pathname.new(File.expand_path("../action", __FILE__)) autoload :Init, action_root.join("init") autoload :Config, action_root.join("config") autoload :Validate, action_root.join("validate") autoload :Generate, action_root.join("generate") autoload :Create, action_root.join("create") end end end
Version data entries
20 entries across 20 versions & 1 rubygems