tobami/littlechef — Issue #68: _generate_metdata() fails silently if 'ERROR:' is in knife output
Author: abrookins
Created: 2011-10-24 22:14:01+00:00
State: open

When I try to apply a role to a host, if the `knife cookbook metadata` command in lib.py fails with an 'ERROR:' (instead of 'FATAL:'), I get a false positive, e.g.:

% fix debug node:my.host.com role:logwatch
Setting Chef Solo log level to 'debug'...

== Applying role 'logwatch' to my.host.com ==
Generated metadata.json for cookbooks/logwatch

Fatal error: Cookbook "logwatch" has no metadata.json

Aborting.