Files
chef/.chef/config.rb.example
T

19 lines
850 B
Plaintext

current_dir = File.dirname(__FILE__)
cookbook_path ["#{current_dir}/../site-cookbooks", "#{current_dir}/../cookbooks"]
node_path "nodes"
role_path "roles"
environment_path "environments"
data_bag_path "data_bags"
encrypted_data_bag_secret "#{current_dir}/encrypted_data_bag_secret"
local_mode true # Chef local mode, replacing Solo
# Added to /etc/chef/client.rb on node bootstrap
# https://docs.chef.io/attribute_persistence/
# Source of truth: site-cookbooks/kosmos-base/files/default/chef_attributes.rb
client_d_dir(File.expand_path("../site-cookbooks/kosmos-base/files/default/chef_attributes.rb"))
# Chef binaries on packages.chef.io are license-gated (HTTP 402); use the
# community Cinc build for bootstraps and converged nodes.
knife[:alter_project] = "cinc"