Sha256: 4206c34e727bf5ba65e58dec4f45cc315e1ca846fd83e8a4505a15484331c276

Contents?: true

Size: 477 Bytes

Versions: 3

Compression:

Stored size: 477 Bytes

Contents

# frozen_string_literal: true

require 'log4r'
require 'securerandom'
require 'digest/md5'

module VagrantPlugins
  module ProviderLocal
    module Action
      # This is used to setup the instance
      class Setup
        def initialize(app, _env)
          @logger = Log4r::Logger.new('vagrant_local::action::import')
          @app = app
        end

        def call(env)
          @machine = env[:machine]
          @app.call(env)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vagrant-local-0.0.3 lib/vagrant-local/action/setup.rb
vagrant-local-0.0.2 lib/vagrant-local/action/setup.rb
vagrant-local-0.0.1 lib/vagrant-local/action/setup.rb