0

I maintain many chef cookbooks that are worked on by various teams. Some teams choose to include binary files in the cookbooks.

Before uploading a modified cookbook i like to 'knife diff' to double check the changes... but if there is a binary file in there which has changed then the screen explodes with the binary file changed content.

Does anyone know how to exclude binary files from the knife diff command or another workaround ?

thank you fLo

0

The only way I know of to avoid binary files is to leverage the --diff-filter option to filter for non binary files

DOC: http://docs.opscode.com/knife_diff.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.