我嘗試在AWS實例安裝Tomcat食譜,但經歷如下錯誤: 角色tomcat.rb: name 'tomcat'
description 'A single tomcat server'
run_list(
'recipe[tomcat]'
)
運行: knife ec2 server create --availability-zone us-east-1d --node-nam
運行刀我不斷收到此錯誤,谷歌似乎並沒有多大幫助 WARNING: No knife configuration file found
Where should I put the config file? [/home/ubuntu/.chef/knife.rb]
ERROR: Ohai::Exceptions::DependencyNotFound: Can not find a plugi
我不知道什麼是錯的我settting: [email protected]:~/chef-repo$ knife ssh -a ipaddress 'name:chefnode' 'uptime'
WARNING: Failed to connect to -- Net::SSH::AuthenticationFailed: Authentication failed for user
運行: knife bootstrap ec2-54-221-16-158.compute-1.amazonaws.com --sudo -x chef -P chef -N server --run-list 'role[inicial]'
我的食譜/ default.rb: script "teste de script" do
interpreter "bash"
c
當我將我的廚師客戶端升級到版本11.10.4後,我無法使用knife命令下載食譜。我有適用於Mac的最新刀版和最新xcode 5.1。有誰知道似乎是什麼問題? $ knife cookbook site list
ERROR: Chef::Exceptions::ContentLengthMismatch: Response body length 2219 does not match HTT