Class: VagrantPlugins::HostPath::Legacy::Config
- Inherits:
-
Vagrant::Config::Base
- Object
- Vagrant::Config::Base
- VagrantPlugins::HostPath::Legacy::Config
- Defined in:
- lib/vagrant-host-path/legacy/config.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
FIXME: Defaults duplication here!.
- #env_key ⇒ Object
- #path_file ⇒ Object
- #profile_path ⇒ Object
- #temp_upload_path ⇒ Object
Instance Attribute Details
#enabled ⇒ Object
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_key ⇒ Object
18 19 20 |
# File 'lib/vagrant-host-path/legacy/config.rb', line 18 def env_key @env_key || "VAGRANT_HOST_PATH" end |
#path_file ⇒ Object
22 23 24 |
# File 'lib/vagrant-host-path/legacy/config.rb', line 22 def path_file @path_file || "/tmp/.vagrant-host-path" end |
#profile_path ⇒ Object
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_path ⇒ Object
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 |