我进行了厨房测试,无法接受许可,回答是,什么都不做
kitchen.yml
provisioner:
name: chef_zero
always_update_cookbooks: true
retry_on_exit_code:
- 35 # 35 is the exit code signaling that the node is rebooting
max_retries: 1
client_rb:
exit_status: :enabled # Opt-in to the standardized exit codes
client_fork: false # Forked instances don't return the real exit code
environment: _default
chef_license: accept
product_name: chef
chef-client: 14
答案 0 :(得分:0)
根据github问题,尝试将预配器部分中的accept
更新为accept-no-persist
:https://github.com/test-kitchen/test-kitchen/issues/1553
provisioner:
name: chef_zero
always_update_cookbooks: true
log_level: info
chef_license: accept-no-persist
product_name: chef
product_version: 14
注释(通过tas50在github问题上的评论):Test Kitchen 1.x不支持厨师许可。计划是将2.x分支上的工作反向移植到1-stable分支,并在支持下发布新的1.X版本。