在kitchen converge
和Dokken driver
作为验证者的Test Kitchen上运行Inspec
时遇到问题。
开始解决食谱依赖项7.0.6时发生错误
Resolving cookbook dependencies with Berkshelf 7.0.6...
[2019-06-18T15:17:56+08:00] ERROR: Connection refused connecting to https://localhost/cookbooks/apache2/3.1.0, retry 1/5
[2019-06-18T15:17:56+08:00] ERROR: Connection refused connecting to https://localhost/cookbooks/alternatives/0.1.1, retry 1/5
[2019-06-18T15:18:01+08:00] ERROR: Connection refused connecting to https://localhost/cookbooks/apache2/3.1.0, retry 2/5
[2019-06-18T15:18:01+08:00] ERROR: Connection refused connecting to https://localhost/cookbooks/alternatives/0.1.1, retry 2/5
有什么主意吗?
谢谢!
答案 0 :(得分:0)
我通过在~/.chef/knife.rb
,chef_server_url 'https://chef-server-url'