【发布时间】:2015-04-01 13:04:44
【问题描述】:
我想在我的 linux 机器上以测试用户身份运行 chef-client。为此,我在来自 /etc/chef/client.rb 的 client.rb 文件中添加了缓存路径。
cache_path "~/.chef/cache"
然后我从测试用户(非 root 用户)运行 chef-client 命令。它显示错误?
Chef encountered an error attempting to create the client
如何设置缓存路径?测试用户下的client.rb、chef-validator.pem、client.pem、first-boot.json是否需要移动?
【问题讨论】:
-
添加了缓存路径“/home/test/cache”。这也显示了同样的错误,它说我可以读到你告诉我签署请求的内容
标签: chef-infra