jkeiser / knife-essentials

Knife commands to treat the Chef server like a filesystem
Apache License 2.0
81 stars 26 forks source link

berks upload option for cookbooks? #74

Open matschaffer opened 11 years ago

matschaffer commented 11 years ago

I'm working with knife-essentials and using berkshelf for cookbooks and it occured to me that a configuration option to have cookbooks upload via berks upload could be pretty sexy.

Thoughts?

jkeiser commented 11 years ago

Yep. I'm not 100% sure of berkshelf's cookbook storage format, but I imagine it will be doable. One difference will be that berkshelf understands multiple cookbook versions, so knife-essentials would need to learn that.

matschaffer commented 11 years ago

I was imagining a system call to 'berks upload' to start. Too hacky?

On Thursday, December 13, 2012, John Keiser wrote:

Yep. I'm not 100% sure of berkshelf's cookbook storage format, but I imagine it will be doable. One difference will be that berkshelf understands multiple cookbook versions, so knife-essentials would need to learn that.

— Reply to this email directly or view it on GitHubhttps://github.com/jkeiser/knife-essentials/issues/74#issuecomment-11339197.

-Mat

about.me/matschaffer

jkeiser commented 11 years ago

Well, knife diff, upload and download all first do a "diff" to figure out which (if any) cookbooks have changed, which means they need to read the cookbook on disk to find that out.

matschaffer commented 11 years ago

Ahh... right. I'll dig around a bit and let you know what I find out.