Sha256: 50cf0db2bfd54472137979b09fa27b43ebffb9817dc43a9a337343e25989c6bf
Contents?: true
Size: 623 Bytes
Versions: 4
Compression:
Stored size: 623 Bytes
Contents
require "log4r" module VagrantPlugins module Skytap module Action # Runs the Skytap environment. class RunEnvironment include Vagrant::Util::Retryable attr_reader :env def initialize(app, env) @app = app @env = env @logger = Log4r::Logger.new("vagrant_skytap::action::run_environment") end def call(env) env[:ui].info(I18n.t("vagrant_skytap.launching_instance")) environment.run! @app.call(env) end def environment env[:environment] end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems