Sha256: 08a268dd11cf75866585cd940c406d4a039eb47232d7276f9dac306b6edd8e8f

Contents?: true

Size: 533 Bytes

Versions: 54

Compression:

Stored size: 533 Bytes

Contents

# frozen_string_literal: true

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

module VagrantPlugins
  module ProviderZone
    module Action
      # This is used to prepare NFS ids for NFS Sharing
      class PrepareNFSValidIds
        def initialize(app, _env)
          @logger = Log4r::Logger.new('vagrant_zones::action::prepare_nfs_valid_ids')
          @app = app
        end

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

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
vagrant-zones-0.1.98 lib/vagrant-zones/action/prepare_nfs_valid_ids.rb
vagrant-zones-0.1.97 lib/vagrant-zones/action/prepare_nfs_valid_ids.rb
vagrant-zones-0.1.96 lib/vagrant-zones/action/prepare_nfs_valid_ids.rb
vagrant-zones-0.1.94 lib/vagrant-zones/action/prepare_nfs_valid_ids.rb
vagrant-zones-0.1.93 lib/vagrant-zones/action/prepare_nfs_valid_ids.rb
vagrant-zones-0.1.92 lib/vagrant-zones/action/prepare_nfs_valid_ids.rb
vagrant-zones-0.1.91 lib/vagrant-zones/action/prepare_nfs_valid_ids.rb
vagrant-zones-0.1.90 lib/vagrant-zones/action/prepare_nfs_valid_ids.rb
vagrant-zones-0.1.89 lib/vagrant-zones/action/prepare_nfs_valid_ids.rb
vagrant-zones-0.1.88 lib/vagrant-zones/action/prepare_nfs_valid_ids.rb
vagrant-zones-0.1.87 lib/vagrant-zones/action/prepare_nfs_valid_ids.rb
vagrant-zones-0.1.86 lib/vagrant-zones/action/prepare_nfs_valid_ids.rb
vagrant-zones-0.1.85 lib/vagrant-zones/action/prepare_nfs_valid_ids.rb
vagrant-zones-0.1.84 lib/vagrant-zones/action/prepare_nfs_valid_ids.rb
vagrant-zones-0.1.83 lib/vagrant-zones/action/prepare_nfs_valid_ids.rb
vagrant-zones-0.1.82 lib/vagrant-zones/action/prepare_nfs_valid_ids.rb
vagrant-zones-0.1.81 lib/vagrant-zones/action/prepare_nfs_valid_ids.rb
vagrant-zones-0.1.80 lib/vagrant-zones/action/prepare_nfs_valid_ids.rb
vagrant-zones-0.1.79 lib/vagrant-zones/action/prepare_nfs_valid_ids.rb
vagrant-zones-0.1.78 lib/vagrant-zones/action/prepare_nfs_valid_ids.rb