class VagrantPlugins::CORL::Config::CORL
Attributes
auth_files[RW]
bootstrap[RW]
bootstrap_glob[RW]
bootstrap_init[RW]
bootstrap_path[RW]
bootstrap_scripts[RW]
build[RW]
dev_build[RW]
dry_run[RW]
environment[RW]
force_updates[RW]
network[RW]
node[RW]
project_branch[RW]
project_reference[RW]
provision[RW]
reboot[RW]
root_home[RW]
root_user[RW]
ruby_version[RW]
seed[RW]
user_home[RW]
user_home_env_var[RW]
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/core/vagrant/provisioner/config.rb 10 def initialize 11 super 12 @network = UNSET_VALUE 13 @node = UNSET_VALUE 14 15 @force_updates = false 16 @user_home = UNSET_VALUE 17 @user_home_env_var = UNSET_VALUE 18 19 @root_user = UNSET_VALUE 20 @root_home = UNSET_VALUE 21 22 @bootstrap = UNSET_VALUE 23 @bootstrap_path = UNSET_VALUE 24 @bootstrap_glob = UNSET_VALUE 25 @bootstrap_init = UNSET_VALUE 26 @bootstrap_scripts = UNSET_VALUE 27 @reboot = true 28 @dev_build = false 29 @ruby_version = UNSET_VALUE 30 31 @auth_files = UNSET_VALUE 32 33 @seed = UNSET_VALUE 34 @project_reference = UNSET_VALUE 35 @project_branch = UNSET_VALUE 36 37 @environment = UNSET_VALUE 38 @build = true 39 @provision = false 40 @dry_run = false 41 end
Public Instance Methods
finalize!()
click to toggle source
Calls superclass method
# File lib/core/vagrant/provisioner/config.rb 45 def finalize! 46 super 47 @user_home = nil if @user_home == UNSET_VALUE 48 @user_home_env_var = nil if @user_home_env_var == UNSET_VALUE 49 50 @root_user = nil if @root_user == UNSET_VALUE 51 @root_home = nil if @root_home == UNSET_VALUE 52 53 @bootstrap = nil if @bootstrap == UNSET_VALUE 54 @bootstrap_path = nil if @bootstrap_path == UNSET_VALUE 55 @bootstrap_glob = nil if @bootstrap_glob == UNSET_VALUE 56 @bootstrap_init = nil if @bootstrap_init == UNSET_VALUE 57 @bootstrap_scripts = nil if @bootstrap_scripts == UNSET_VALUE 58 @ruby_version = nil if @ruby_version == UNSET_VALUE 59 60 @auth_files = nil if @auth_files == UNSET_VALUE 61 62 @seed = nil if @seed == UNSET_VALUE 63 @project_reference = nil if @project_reference == UNSET_VALUE 64 @project_branch = nil if @project_branch == UNSET_VALUE 65 66 @environment = nil if @environment == UNSET_VALUE 67 end
validate(machine)
click to toggle source
# File lib/core/vagrant/provisioner/config.rb 83 def validate(machine) 84 errors = _detected_errors 85 86 # TODO: Validation (with action config validators) 87 88 { "CORL provisioner" => errors } 89 end