当我在私人超市安装上运行上传cookbook的命令时,它总是尝试连接到“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.