mdxp / knife-backup

knife plugin to help backup and restore a chef server.
Apache License 2.0
110 stars 45 forks source link

Add exception check for json metadata parse errors #49

Closed brentm5 closed 8 years ago

brentm5 commented 8 years ago

Catches exceptions for cookbooks that have invalid metadata files so that they still get pushed to the chef server

pmoosh commented 8 years ago

@bigbam505 As per issue #50 the behavior should be to skip all faulty cookbooks continue to upload the ones w/o errors. Can you make this a option?

similar to what we have for exports?

-I, --ignore-metadata-errors ignore any metadata errors during backup

and default to the original behavior?

that would be awesome

thanks for all your work

pmoosh commented 8 years ago

@bigbam505: great thank you!!!