20 lines
726 B
Ruby
20 lines
726 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] = "14.11.21"
|