Move the generate options to config.rb at the root of the repo
This has been the only way I managed to make `chef generate cookbook COOKBOOK_NAME` set the default values This is not documented, there is an issue open about it: https://github.com/chef/chef-cli/issues/54
This commit is contained in:
parent
8d78d41af7
commit
d029ee91be
@ -8,10 +8,6 @@ data_bag_path "data_bags"
|
|||||||
encrypted_data_bag_secret "#{current_dir}/encrypted_data_bag_secret"
|
encrypted_data_bag_secret "#{current_dir}/encrypted_data_bag_secret"
|
||||||
local_mode true # Chef local mode, replacing Solo
|
local_mode true # Chef local mode, replacing Solo
|
||||||
|
|
||||||
cookbook_copyright 'Kosmos Developers'
|
|
||||||
cookbook_license 'MIT'
|
|
||||||
cookbook_email 'mail@kosmos.org'
|
|
||||||
|
|
||||||
# Knife-Zero config, see https://knife-zero.github.io/40_configuration/
|
# Knife-Zero config, see https://knife-zero.github.io/40_configuration/
|
||||||
# Prevent attributes from being saved to the node files
|
# Prevent attributes from being saved to the node files
|
||||||
knife[:automatic_attribute_whitelist] = %w[
|
knife[:automatic_attribute_whitelist] = %w[
|
||||||
|
Loading…
x
Reference in New Issue
Block a user