f890bfeb0d
Added a list of possible interfaces for which the vagrant provisioner will choose the first one that is available. No more editing the test recipes. Cleaned up the os selection to hide the version specific stuff to be consistent with the environment logic. Fixed up some file modes. Forced the chef client config directory as it can search in bad places in some scenarios. Change-Id: I38a7a86b58893b912af99fabf04ca9052f914346
16 lines
588 B
Ruby
16 lines
588 B
Ruby
# See http://docs.opscode.com/config_rb_knife.html
|
|
# for more information on knife configuration options
|
|
|
|
current_dir = File.dirname(__FILE__)
|
|
log_level :info
|
|
log_location STDOUT
|
|
node_name 'nodienode'
|
|
client_key "#{current_dir}/nodienode.pem"
|
|
validation_client_name 'chef-validator'
|
|
validation_key "#{current_dir}/validator.pem"
|
|
chef_server_url 'https://api.opscode.com/organizations/my_awesome_org'
|
|
cache_type 'BasicFile'
|
|
cache_options(path: "#{ENV['HOME']}/.chef/checksums")
|
|
cookbook_path ["#{current_dir}/../cookbooks"]
|
|
knife[:secret_file] = "#{current_dir}/encrypted_data_bag_secret"
|