Class: ConfigBuilder::Model::Provisioner::File

Inherits:
Base
  • Object
show all
Defined in:
lib/config_builder/model/provisioner/file.rb

Overview

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_proc

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

#destinationSource

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".

Returns:

  • (Source)

    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

#sourceSource

Returns Is the local path of the file to be uploaded.

Returns:

  • (Source)

    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