Sha256: a7ba0dd1e01962f11d1339e228f26068855af915c3467ede51fe7787e47cecc2

Contents?: true

Size: 714 Bytes

Versions: 5

Compression:

Stored size: 714 Bytes

Contents

# @see http://docs.vagrantup.com/v2/provisioning/file.html
class ConfigBuilder::Model::Provisioner::File < ConfigBuilder::Model::Provisioner::Base
  # @!attribute [rw] source
  #   @return [Source] Is the local path of the file to be uploaded.
  def_model_attribute :source

  # @!attribute [rw] destination
  #   @return [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".
  def_model_attribute :destination

  ConfigBuilder::Model::Provisioner.register('file', self)
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vagrant-config_builder-1.3.0 lib/config_builder/model/provisioner/file.rb
vagrant-config_builder-1.2.0 lib/config_builder/model/provisioner/file.rb
vagrant-config_builder-1.1.0 lib/config_builder/model/provisioner/file.rb
vagrant-config_builder-1.0.0 lib/config_builder/model/provisioner/file.rb
vagrant-config_builder-1.0.0.rc1 lib/config_builder/model/provisioner/file.rb