Sha256: 5244dab995a5b7f0ae9fa684ddc040b18817f23d66243440a50692f96093cc6b

Contents?: true

Size: 603 Bytes

Versions: 5

Compression:

Stored size: 603 Bytes

Contents

require "vagrant"

module VagrantPlugins
  module SyncedFolderNFS
    class Config < Vagrant.plugin("2", :config)
      attr_accessor :functional
      attr_accessor :map_uid
      attr_accessor :map_gid

      def initialize
        super

        @functional = UNSET_VALUE
        @map_uid    = UNSET_VALUE
        @map_gid    = UNSET_VALUE
      end

      def finalize!
        @functional = true if @functional == UNSET_VALUE
        @map_uid = :auto if @map_uid == UNSET_VALUE
        @map_gid = :auto if @map_gid == UNSET_VALUE
      end

      def to_s
        "NFS"
      end
    end
  end
end

Version data entries

5 entries across 2 versions & 2 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-1cf2a8db4ccb/plugins/synced_folders/nfs/config.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-272fb27e0536/plugins/synced_folders/nfs/config.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-309e896975d1/plugins/synced_folders/nfs/config.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-b421af58e8b3/plugins/synced_folders/nfs/config.rb
vagrant-tiktalik-0.0.3 vendor/bundle/ruby/2.0.0/bundler/gems/vagrant-1e28f1ac31e7/plugins/synced_folders/nfs/config.rb