chef/.chef/knife.rb
Greg Karékinian 5a0323722a Explicitly run Chef in local mode (replacement for Solo)
Fixes a crash when editing encrypted data bags with the knife solo
plugin
2017-02-14 11:39:15 +01:00

14 lines
517 B
Ruby

current_dir = File.dirname(__FILE__)
cookbook_path ["#{current_dir}/../cookbooks", "#{current_dir}/../site-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
cookbook_copyright 'Kosmos'
cookbook_license 'none'
cookbook_email 'mail@kosmos.org'