여기 내 kitchen.ymlkitchen.yml에 역할을 추가 할 수 있습니까?
---
driver:
name: vagrant
network:
- ["private_network", {ip: "192.168.35.35"}]
provisioner:
name: chef_zero
# You may wish to disable always updating cookbooks in CI or other testing environments.
# For example:
# always_update_cookbooks: <%= !ENV['CI'] %>
always_update_cookbooks: true
roles_path: test/integration/roles/
verifier:
name: inspec
platforms:
- name: ubuntu-14.04
suites:
- name: default
run_list:
- role[tomcat_role]
verifier:
inspec_tests:
- test/smoke/default
attributes:
내가 요리사 서버에 분명히 존재하지만 여전히 나는이 오류가 무엇입니까 다음과 같은 오류를
[2017-04-24T10:39:02+00:00] ERROR: Role tomcat_role (included by 'top lev
el') is in the runlist but does not exist. Skipping expand.
=========================================================================
=======
Error expanding the run_list:
=========================================================================
=======
Missing Role(s) in Run List:
----------------------------
* tomcat_role included by 'top level'
역할을 점점 계속. 우리는 kitchen.yml의 실행 목록 속성에서 역할을 사용할 수 있습니까?
요리사 서버는 로컬 공급자를 사용하기 때문에 중요하지 않지만 테스트 역할을 입력 한 경로는 무엇입니까? – coderanger
json 파일 (tomcat.json)은 테스트/통합/역할 폴더'roles_path : test/integration/roles /'에 있습니다. – aaj
json 파일을 보관해야하는 특정 위치가 있습니까? – aaj