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

Cache omnibus download (via "pseudo bucket") #92

Closed
wants to merge 6 commits into from

Conversation

tknerr
Copy link

@tknerr tknerr commented Mar 8, 2014

This creates a vagrant_omnibus "pseudo bucket" for caching the omnibus packages downloaded via vagrant-omnibus.

It caches the omnibus packages only iff:

  1. bucket auto detection is enabled
  2. vagrant-omnibus plugin is detected
  3. vagrant-omnibus is enabled for that VM

The reason I call this "pseudo bucket" is that it's not implemented as a real bucket + capability. I actually tried this approach first but it didn't work as vagrant-cachier installs the buckets too late (i.e. after vagrant-omnibus runs the install.sh). So I ended up creating a vagrant_omnibus pseudo bucket in ConfigureBucketRoot#call() which is early enough.

If you have better ideas let me know, this was the best I could get at...

See discussion in #13 as well.

@tknerr
Copy link
Author

tknerr commented Mar 20, 2014

Obsoleted by chef-boneyard/vagrant-omnibus#73

@tknerr tknerr closed this Mar 20, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant