Private Supermarket 的 Cookbook 站点共享命令正在连接到 Public Supermarket

Cookbook site share command for Private Supermarket is connecting to Public Supermarket

当我 运行 在我的私人超市安装上执行上传食谱的命令时,它总是试图连接到 "supermarket.chef.io",即使我已经将 knife[:supermarket_site] = 'https://ip-205-5-117.dqa.capitalone.com/' 添加到我的knife.rb

我正在尝试的命令 运行:

knife cookbook site share myfirstcookbook "others" -c knife.rb -VV

日志是:

workstation:test zng937$ knife cookbook site share  myfirstcookbook "Web Servers" -c knife.rb 
Generating metadata for myfirstcookbook from /var/folders/6s/vb0m1sqd1hldg7thk6m3dflmv7dc2h/T/chef-myfirstcookbook-build20160106-7998-r5y7kx/myfirstcookbook/metadata.rb
Making tarball myfirstcookbook.tgz
ERROR: Error uploading cookbook myfirstcookbook to the Opscode Cookbook Site: Operation timed out - connect(2) for "supermarket.chef.io" port 443. Increase log verbosity (-VV) for more information.

您想使用 knife-supermarket 插件:https://github.com/chef/knife-supermarket