【发布时间】:2017-11-16 21:32:34
【问题描述】:
我们可以在本地运行厨师食谱(chef-solo 或 chef-zero),如下所示
chef-client -z --runlist 'recipe[cookbookname::recipename]'
或者
chef-client --local-mode C:\chefrepo\cookbooks\example\recipes\default.rb
但是,如何通过将说明书保存在远程服务器中以本地模式运行 CHEF 客户端?像这样?
chef-client --local-mode \\10.10.1.1\cookbooks\example\recipe
请澄清。
【问题讨论】:
标签: chef-infra chef-recipe chef-solo