找不到测试kitchen命令
我正在尝试使用测试厨房码头,我安装了厨师工作站,厨师和测试厨房的厨师食谱,但厨房仍然抱怨“找不到厨房”,
-bash: kitchen: command not found
这是我在Redhat7 Linux机器上安装的东西;
Chef Workstation version: 22.1.778
Chef Habitat version: 1.6.420
Test Kitchen version: 3.2.2
Cookstyle version: 7.31.1
Chef Infra Client version: 17.9.26
Chef InSpec version: 4.52.9
Chef CLI version: 5.5.6
厨房.yml --- 司机: 名称:Docker
provisioner:
name: dummy
verifier:
name: inspec
tranport:
name: docker
platforms:
- name: centos-7
docker_config:
image: centos:7
platform: centos
suites:
- name: default
verifier:
inspec_tests:
- test/integration/default
错误:
kitchen list
-bash: kitchen: command not found
I'm trying to test chef recipe locally using test kitchen docker, I installed chef workstation, chef, and test kitchen but kitchen still complaints "Kitchen not found"
-bash: kitchen: command not found
Here's what I installed on my redhat7 linux machine ;
Chef Workstation version: 22.1.778
Chef Habitat version: 1.6.420
Test Kitchen version: 3.2.2
Cookstyle version: 7.31.1
Chef Infra Client version: 17.9.26
Chef InSpec version: 4.52.9
Chef CLI version: 5.5.6
kitchen.yml
---
driver:
name: docker
provisioner:
name: dummy
verifier:
name: inspec
tranport:
name: docker
platforms:
- name: centos-7
docker_config:
image: centos:7
platform: centos
suites:
- name: default
verifier:
inspec_tests:
- test/integration/default
Error:
kitchen list
-bash: kitchen: command not found
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
执行
厨房 - version
并查看输出。如果正确安装了测试厨房的版本,例如:
厨房 - version
测试厨房版本3.xx
Execute
kitchen --version
and see the output. It should output you the version of the Test Kitchen if correctly installedEg:
kitchen --version
Test Kitchen version 3.x.x