Class: ConfigBuilder::Model::Provisioner::Shell
- Defined in:
- lib/config_builder/model/provisioner/shell.rb
Overview
Instance Attribute Summary collapse
-
#args ⇒ String
A string acting as an argument vector to the command.
-
#binary ⇒ Boolean
Whether Windows line endings are replaced with Unix line endings.
-
#env ⇒ Hash
A hash of values passed in as environment variables to the script.
-
#inline ⇒ String
The inline shell command to run.
-
#keep_color ⇒ Boolean
Whether Vagrant should use coloring for the output.
-
#path ⇒ String
The path to the shell script to run.
-
#powershell_args ⇒ String
Extra arguments to pass to PowerShell if you are provisioning with PowerShell on Windows.
-
#powershell_elevated_interactive ⇒ Boolean
Whether to run an elevated script in interactive mode on Windows.
-
#privileged ⇒ Boolean
Specifies whether to execute the script as a privileged user or not.
-
#upload_path ⇒ String
The remote path where the shell script will be uploaded to.
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
#args ⇒ String
Returns 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 |
#binary ⇒ Boolean
Returns 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 |
#env ⇒ Hash
Returns 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 |
#inline ⇒ String
Returns The inline shell command to run.
6 |
# File 'lib/config_builder/model/provisioner/shell.rb', line 6 def_model_attribute :inline |
#keep_color ⇒ Boolean
Returns Whether Vagrant should use coloring for the output.
34 |
# File 'lib/config_builder/model/provisioner/shell.rb', line 34 def_model_attribute :keep_color |
#path ⇒ String
Returns The path to the shell script to run.
10 |
# File 'lib/config_builder/model/provisioner/shell.rb', line 10 def_model_attribute :path |
#powershell_args ⇒ String
Returns 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_interactive ⇒ Boolean
Returns 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 |
#privileged ⇒ Boolean
Returns 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_path ⇒ String
Returns 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 |