chef/.chef/knife.rb
Greg Karékinian 6a86fc64fa Add configuration for knife-solo
Disable Berkshelf integration and set the version of Chef to install on
the server
2018-04-17 13:42:38 +02:00

20 lines
724 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'
# Disable knife-solo's Berkshelf integration, since we vendor all third party
# cookbooks
knife[:berkshelf] = false
# Set Chef version installed by `knife solo prepare`
knife[:bootstrap_version] = "13.8.5"