gpt4 book ai didi

linux - Chef 生成菜谱

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:45:36 25 4
gpt4 key购买 nike

我在创建 Recipe 时遇到问题,如下所示:

这可能与什么有关?我安装了 chef-dk。我是 Chef 的新手,所以如果您需要有关我的环境的更多信息,请不要犹豫。

root@chef-work:/home/ubuntu/chef-repo/cookbooks# chef generate cookbook learn_chef_apache2
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_PAPER = "nb_NO.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Can't open generate: No such file or directory.
Can't open cookbook: No such file or directory.
Can't open learn_chef_apache2: No such file or directory.

最佳答案

检查您的 $PATH,type -a chef。我猜你安装了多个 chef 可执行文件,而来自 ChefDK 的不是第一个。您可以将 chef shell-init 移动到 shellrc 文件的底部。

关于linux - Chef 生成菜谱,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37550016/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com