-
Notifications
You must be signed in to change notification settings - Fork 213
Concurrency #433
Comments
Sounds like a noble cause. But first step would be to figure out if librarian & berkshelf can support this. If not the parallelization might have to happen at the ruby-layer. |
Well the problem I noticed is kitchen solo uses the same temporary path always (typically in the resolver's directory) so maybe having it use different directories to export the cookbooks to? |
Just got hit with this. Maybe the solution is to expose the |
Random untested thought: does ENV work in the knife.rb? 2015年6月8日月曜日、Nenadnotifications@github.comさんは書きました:
-Mat about.me/matschaffer |
Hmm.. Probably. I'll try and get back to you. |
Yeah, it does. So setting knife[:berkshelf_path] = ENV.fetch('BERKSHELF_VENDOR_PATH', "cookbooks") and running knife solo with Maybe add this to the docs? |
Did a wiki for now https://github.com/matschaffer/knife-solo/wiki/Running-on-multiple-hosts-concurrently Not quite sure where we should factor this into the main readme but if you have a recommendation let me know. |
Yeah, wiki should do. |
I noticed the other day it's often brittle and breaks when trying to converge 2 nodes at once. It appears to be related to the vendoring of the cookbooks before uploading; turns into a race condition where one
knife solo cook
will trample the other directories contents.Usually it leads to both cook's failing; but it would be awesome if I could run knife solo cook on multiple nodes at the same time.
The text was updated successfully, but these errors were encountered: