0
問題chef_roles: 我試圖用chef_zero測試紅寶石DSL格式指定我的食譜角色,但是當我試圖做kitchen converge
。看起來它不能擴展 kitchen.yml
中指定的角色。廚房匯聚在使用chef_zero不擴大run_list
如何解決:這難道不是可以使用chef-zero
使用測試廚房的食譜來測試角色或我不是在我kitchen.yml
調用正確的角色。我如何在本地使用chef_zero測試角色。
**chef-environment**:
Chef Development Kit Version: 0.12.0
chef-client version: 12.8.1
berks version: 4.3.0
kitchen version: 1.6.0
**kitchen.yml**:
suites:
- name: default
run_list:
- role[test_role]
**Error**
[2016-05-25T12:58:37-04:00] ERROR: Role test_role (included by 'top level') is in the runlist but does not exist. Skipping expand.
================================================================================
Error expanding the run_list:
================================================================================
Missing Role(s) in Run List:
----------------------------
* test_role included by 'top level'
Original Run List
-----------------
* role[test_role]
廚師stacktrace.out:
廚師::例外:: MissingRole:擴展的運行列表包含不存在的角色:test_role