Sha256: 2979bcba90e1fa54334c7d911798d18c3de6aa888a14e0604bc01401299ae8e2
Contents?: true
Size: 436 Bytes
Versions: 16
Compression:
Stored size: 436 Bytes
Contents
module Vagrant module Action module General # Simply validates the configuration of the current Vagrant # environment. class Validate def initialize(app, env) @app = app @env = env end def call(env) @env[:vm].config.validate!(@env[:vm].env) if !@env.has_key?("validate") || @env["validate"] @app.call(@env) end end end end end
Version data entries
16 entries across 16 versions & 2 rubygems