Class: VagrantPlugins::HostPath::Legacy::Config

Inherits:
Vagrant::Config::Base
  • Object
show all
Defined in:
lib/vagrant-host-path/legacy/config.rb

Instance Attribute Summary collapse

Instance Attribute Details

#enabledObject

FIXME: Defaults duplication here!



13
14
15
16
# File 'lib/vagrant-host-path/legacy/config.rb', line 13

def enabled
  return true if @enabled.nil?
  @enabled
end

#env_keyObject



18
19
20
# File 'lib/vagrant-host-path/legacy/config.rb', line 18

def env_key
  @env_key || "VAGRANT_HOST_PATH"
end

#path_fileObject



22
23
24
# File 'lib/vagrant-host-path/legacy/config.rb', line 22

def path_file
  @path_file || "/tmp/.vagrant-host-path"
end

#profile_pathObject



26
27
28
# File 'lib/vagrant-host-path/legacy/config.rb', line 26

def profile_path
  @profile_path || "/etc/profile.d/vagrant-host-path.sh"
end

#temp_upload_pathObject



30
31
32
# File 'lib/vagrant-host-path/legacy/config.rb', line 30

def temp_upload_path
  @temp_upload_path || "/tmp/vagrant-host-path-profile.sh"
end