Class: ConfigBuilder::Model::Provisioner::Shell

Inherits:
Base
  • Object
show all
Defined in:
lib/config_builder/model/provisioner/shell.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

#argsString

Returns A string acting as an argument vector to the command.

Returns:

  • (String)

    A string acting as an argument vector to the command.



14
# File 'lib/config_builder/model/provisioner/shell.rb', line 14

def_model_attribute :args

#binaryBoolean

Returns Whether Windows line endings are replaced with Unix line endings.

Returns:

  • (Boolean)

    Whether Windows line endings are replaced with Unix line endings.



22
# File 'lib/config_builder/model/provisioner/shell.rb', line 22

def_model_attribute :binary

#envHash

Returns A hash of values passed in as environment variables to the script.

Returns:

  • (Hash)

    A hash of values passed in as environment variables to the script.



18
# File 'lib/config_builder/model/provisioner/shell.rb', line 18

def_model_attribute :env

#inlineString

Returns The inline shell command to run.

Returns:

  • (String)

    The inline shell command to run



6
# File 'lib/config_builder/model/provisioner/shell.rb', line 6

def_model_attribute :inline

#keep_colorBoolean

Returns Whether Vagrant should use coloring for the output.

Returns:

  • (Boolean)

    Whether Vagrant should use coloring for the output.



34
# File 'lib/config_builder/model/provisioner/shell.rb', line 34

def_model_attribute :keep_color

#pathString

Returns The path to the shell script to run.

Returns:

  • (String)

    The path to the shell script to run



10
# File 'lib/config_builder/model/provisioner/shell.rb', line 10

def_model_attribute :path

#powershell_argsString

Returns Extra arguments to pass to PowerShell if you are provisioning with PowerShell on Windows.

Returns:

  • (String)

    Extra arguments to pass to PowerShell if you are provisioning with PowerShell on Windows.



38
# File 'lib/config_builder/model/provisioner/shell.rb', line 38

def_model_attribute :powershell_args

#powershell_elevated_interactiveBoolean

Returns Whether to run an elevated script in interactive mode on Windows.

Returns:

  • (Boolean)

    Whether to run an elevated script in interactive mode on Windows.



42
# File 'lib/config_builder/model/provisioner/shell.rb', line 42

def_model_attribute :powershell_elevated_interactive

#privilegedBoolean

Returns Specifies whether to execute the script as a privileged user or not.

Returns:

  • (Boolean)

    Specifies whether to execute the script as a privileged user or not.



26
# File 'lib/config_builder/model/provisioner/shell.rb', line 26

def_model_attribute :privileged

#upload_pathString

Returns The remote path where the shell script will be uploaded to.

Returns:

  • (String)

    The remote path where the shell script will be uploaded to.



30
# File 'lib/config_builder/model/provisioner/shell.rb', line 30

def_model_attribute :upload_path