Files
chef/.chef/config.rb.example
T
raucao 9bc9245583 Ignore Chef config, provide example file
This allows admins to adjust the config to their needs, e.g. using an
absolute path for `encrypted_data_bag_secret`.
2026-10-11 12:21:29 +02:00

15 lines
685 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"))