user_name = 'alice'
org_name = 'wonderland'
conf_dir = "#{ENV['HOME']}/chef/chef.io"
current_dir = File.dirname(__FILE__)  # .chef/knife.rb

log_level                :info
log_location             STDOUT
node_name                "#{user_name}"
client_key               "#{conf_dir}/#{user_name}.pem"
# Validatorless Bootstrap
#validation_client_name   "#{org_name}-validator"
validation_key           "/nonexist"
chef_server_url          "https://api.opscode.com/organizations/#{org_name}"
cache_type               'BasicFile'
cache_options( :path => "#{ENV['HOME']}/.chef/checksums" )
cookbook_path            [
  "#{current_dir}/../cookbooks",
  "#{current_dir}/../vendor/cookbooks"
]

cookbook_copyright "Alice Kingsleigh"
cookbook_email     "alice@mail.wonderland.example.com"
cookbook_license   "apachev2"

#ssl_ca_path "/etc/ssl/certs"
#ssl_ca_file "/etc/ssl/certs/ca.crt"
trusted_certs_dir "#{conf_dir}/trusted_certs"
verify_api_cert   true  # overridden by ssl_verify_mode (= :verify_peer)
ssl_verify_mode   :verify_peer

knife[:vault_mode] = 'client'

