【问题标题】:Error: Connection refused connecting to locahost - Berkshelf - Test Kitchen错误:连接拒绝连接到本地主机 - Berkshelf - 测试厨房
【发布时间】:2023-04-02 14:10:01
【问题描述】:

我在使用 Dokken driverInspec 作为验证者的测试厨房上运行 kitchen converge 时遇到问题。

开始解决cookbook依赖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

有什么想法吗?

谢谢!

【问题讨论】:

    标签: chef-infra test-kitchen inspec kitchen-dokken


    【解决方案1】:

    我通过在~/.chef/knife.rbchef_server_url 'https://chef-server-url' 中添加新参数解决了这个问题

    【讨论】:

      猜你喜欢
      • 2013-07-08
      • 1970-01-01
      • 2017-11-22
      • 1970-01-01
      • 2015-07-30
      • 1970-01-01
      • 2016-08-25
      • 1970-01-01
      • 2016-03-26
      相关资源
      最近更新 更多