Knife solo 작동하지 요리사 솔로입니다 구성을 시작하고, 내가 루비, 보석 및 기타 종속성을 설치 한 후 here 을보고 좋은 스크린 캐스트가 내가 한 :칼 솔로 매트에 의해 칼 플러그인
sudo gem install knife-solo
Successfully installed knife-solo-0.0.8
1 gem installed
Installing ri documentation for knife-solo-0.0.8...
Installing RDoc documentation for knife-solo-0.0.8...
sudo knife configure -r . --defaults
/usr/lib/ruby/1.8/optparse.rb:1450:in `complete': invalid option: --defaults (OptionParser::InvalidOption)
from /usr/lib/ruby/1.8/optparse.rb:1448:in `catch'
from /usr/lib/ruby/1.8/optparse.rb:1448:in `complete'
from /usr/lib/ruby/1.8/optparse.rb:1261:in `parse_in_order'
from /usr/lib/ruby/1.8/optparse.rb:1254:in `catch'
from /usr/lib/ruby/1.8/optparse.rb:1254:in `parse_in_order'
from /usr/lib/ruby/1.8/optparse.rb:1248:in `order!'
from /usr/lib/ruby/1.8/optparse.rb:1339:in `permute!'
from /usr/lib/ruby/1.8/optparse.rb:1360:in `parse!'
from /usr/lib/ruby/1.8/mixlib/cli.rb:162:in `parse_options'
from /usr/lib/ruby/1.8/chef/knife.rb:91:in `find_command'
from /usr/lib/ruby/1.8/chef/application/knife.rb:115:in `run'
from /usr/bin/knife:24
나는 위의 무시와 시도 : 그리고 난 다음 얻을
knife kitchen mychefrepo
[Sat, 05 May 2012 02:55:21 +0530] FATAL: Cannot find sub command for: kitchen mychefrepo
Sub-Command: client bulk delete REGEX (options)
Sub-Command: client create CLIENT (options)
-a, --admin Create the client as an admin
-f, --file FILE Write the key to a file
..... and the list contnues to show all other options.
우분투 11.04입니다. 감사합니다. 감사합니다. 감사합니다.
설치 한 요리사의 버전은 무엇입니까? (칼 -v) –
'knife -v [토요일, 05 5 월 2012 13:14:07 +0230] 치명적 : 죄송합니다, 먼저 하위 명령을 통과해야합니다! 요리사 : 0.8.16' – user993563