Skip to content
This repository has been archived by the owner on Dec 26, 2017. It is now read-only.

Optimize cookbook uploading with multiple chef_client provisioners #85

Open
reset opened this issue Aug 22, 2013 · 2 comments
Open

Optimize cookbook uploading with multiple chef_client provisioners #85

reset opened this issue Aug 22, 2013 · 2 comments

Comments

@reset
Copy link
Contributor

reset commented Aug 22, 2013

Currently the resolved cookbooks will be uploaded to each Chef-Client provisioner defined in a Vagrantfile. This is the desired behavior until you have multiple Chef-Client provisioners that point to the same Chef Server.

We should record which Chef Servers we've uploaded to and skip the upload process for any provisioners which attempt to upload to a Server that's already been seen.

@sethvargo
Copy link
Contributor

@reset this seems really nice, but also really difficult to track and maintain in a threadsafe way (consider a multi-vm environment being spun up in parallel, both writing to some sort of global registry of uploaded cookbooks).

@reset
Copy link
Contributor Author

reset commented Nov 17, 2014

@sethvargo yeah, it was going to be easier to add when we weren't doing a multi-vm environment. I don't believe that this is "too difficult", though, and it should remain open as an enhancement (optimization) task.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants