Don't default config values to nil
This commit is contained in:
parent
5c70dd1658
commit
06d4b6a4e5
|
@ -115,19 +115,8 @@ module Vagrant
|
|||
attr_writer :run_list
|
||||
|
||||
def initialize
|
||||
@provisioning_path = nil
|
||||
@log_level = :info
|
||||
@json = {}
|
||||
@http_proxy = nil
|
||||
@http_proxy_user = nil
|
||||
@http_proxy_pass = nil
|
||||
@https_proxy = nil
|
||||
@https_proxy_user = nil
|
||||
@https_proxy_pass = nil
|
||||
@no_proxy = nil
|
||||
@binary_path = nil
|
||||
@binary_env = nil
|
||||
@run_list = nil
|
||||
end
|
||||
|
||||
# This returns the json that is merged with the defaults and the
|
||||
|
|
|
@ -25,7 +25,6 @@ module Vagrant
|
|||
@client_key_path = "/etc/chef/client.pem"
|
||||
@file_cache_path = "/srv/chef/file_store"
|
||||
@file_backup_path = "/srv/chef/cache"
|
||||
@encrypted_data_bag_secret_key_path = nil
|
||||
@encrypted_data_bag_secret = "/tmp/encrypted_data_bag_secret"
|
||||
end
|
||||
|
||||
|
|
|
@ -20,8 +20,6 @@ module Vagrant
|
|||
super
|
||||
|
||||
@cookbooks_path = ["cookbooks", [:vm, "cookbooks"]]
|
||||
@roles_path = nil
|
||||
@data_bags_path = nil
|
||||
@nfs = false
|
||||
end
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@ module Vagrant
|
|||
def initialize
|
||||
@manifest_file = "default.pp"
|
||||
@manifests_path = "manifests"
|
||||
@module_path = nil
|
||||
@pp_path = "/tmp/vagrant-puppet"
|
||||
@options = []
|
||||
end
|
||||
|
|
|
@ -10,10 +10,7 @@ module Vagrant
|
|||
attr_accessor :args
|
||||
|
||||
def initialize
|
||||
@inline = nil
|
||||
@path = nil
|
||||
@upload_path = "/tmp/vagrant-shell"
|
||||
@args = nil
|
||||
end
|
||||
|
||||
def validate(env, errors)
|
||||
|
|
Loading…
Reference in New Issue