vagrant/plugins/synced_folders/nfs/config.rb

27 lines
470 B
Ruby
Raw Normal View History

2013-11-23 18:49:51 +00:00
require "vagrant"
module VagrantPlugins
module SyncedFolderNFS
class Config < Vagrant.plugin("2", :config)
attr_accessor :map_uid
attr_accessor :map_gid
def initialize
super
@map_uid = UNSET_VALUE
@map_gid = UNSET_VALUE
end
def finalize!
@map_uid = nil if @map_uid == UNSET_VALUE
@map_gid = nil if @map_gid == UNSET_VALUE
end
def to_s
"NFS"
end
end
end
end