This creates a vagrant_omnibus "pseudo bucket" for caching the omnibus packages downloaded via vagrant-omnibus.
It caches the omnibus packages only iff:
bucket auto detection is enabled
vagrant-omnibus plugin is detected
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...
This creates a
vagrant_omnibus
"pseudo bucket" for caching the omnibus packages downloaded via vagrant-omnibus.It caches the omnibus packages only iff:
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 inConfigureBucketRoot#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.