Fix default encrypted data bag secret
This commit is contained in:
parent
3a6969d65f
commit
280afa96c4
|
@ -34,16 +34,12 @@ module VagrantPlugins
|
|||
@chef_server_url = nil if @chef_server_url == UNSET_VALUE
|
||||
@client_key_path = "/etc/chef/client.pem" if @client_key_path == UNSET_VALUE
|
||||
@encrypted_data_bag_secret_key_path = nil if @encrypted_data_bag_secret_key_path == UNSET_VALUE
|
||||
@encrypted_data_bag_secret = nil if @encrypted_data_bag_secret == UNSET_VALUE
|
||||
@encrypted_data_bag_secret = "/tmp/encrypted_data_bag_secret" if @encrypted_data_bag_secret == UNSET_VALUE
|
||||
@environment = nil if @environment == UNSET_VALUE
|
||||
@file_backup_path = "/srv/chef/cache" if @file_backup_path == UNSET_VALUE
|
||||
@file_cache_path = "/srv/chef/file_store" if @file_cache_path == UNSET_VALUE
|
||||
@validation_client_name = "chef-validator" if @validation_client_name == UNSET_VALUE
|
||||
@validation_key_path = nil if @validation_key_path == UNSET_VALUE
|
||||
|
||||
if @encrypted_data_bag_secret == UNSET_VALUE
|
||||
@encrypted_data_bag_secret = "/tmp/encrypted_data_bag_secret"
|
||||
end
|
||||
end
|
||||
|
||||
def validate(machine)
|
||||
|
|
Loading…
Reference in New Issue