Sha256: 7bfefac83d6bb1f2ad6fea7c8495debb0b791c6223faf8611d9b90e89dfcd1f7
Contents?: true
Size: 410 Bytes
Versions: 24
Compression:
Stored size: 410 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 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
24 entries across 24 versions & 6 rubygems