Class: ConfigBuilder::Model::Provisioner::File
- Defined in:
- lib/config_builder/model/provisioner/file.rb
Overview
Instance Attribute Summary collapse
-
#destination ⇒ Source
Is the remote path on the guest machine where the file will be uploaded to.
-
#source ⇒ Source
Is the local path of the file to be uploaded.
Method Summary
Methods inherited from Base
Methods inherited from Base
#attr, #attrs=, #call, #configure!, def_model_attribute, def_model_delegator, def_model_id, def_model_option, #eval_models, #instance_id, #instance_options, model_attributes, model_delegators, #model_delegators, model_options, new_from_hash, #to_proc, #with_attr
Instance Attribute Details
#destination ⇒ Source
Returns Is the remote path on the guest machine where the file will be uploaded to. The file is uploaded as the SSH user over SCP, so this location must be writable to that user. The SSH user can be determined by running vagrant ssh-config, and defaults to "vagrant".
12 |
# File 'lib/config_builder/model/provisioner/file.rb', line 12 def_model_attribute :destination |
#source ⇒ Source
Returns Is the local path of the file to be uploaded.
5 |
# File 'lib/config_builder/model/provisioner/file.rb', line 5 def_model_attribute :source |