Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

knife.rb client list undefined method `log_level' for main:Object (NoMethodError)

after register in https://manage.chef.io/organizations/martinlee/getting_started and downloaded starter

and chmod 771 knife.rb and run

got error

 [martin@localhost chef-repo]$ ./knife.rb client list
./knife.rb:5:in `<main>': undefined method `log_level' for main:Object (NoMethodError)
[martin@localhost chef-repo]$ ls
cookbooks  knife.rb  martinlee-validator.pem  README.md  roles
[martin@localhost chef-repo]$