fgrehm / vagrant-cachier

Caffeine reducer
http://fgrehm.viewdocs.io/vagrant-cachier
MIT License
1.07k stars 111 forks source link

Do not reconfigure buckets that have been configured #85

Closed fgrehm closed 10 years ago

fgrehm commented 10 years ago

This should be on a "per-bucket basis" as buckets like apt only need to be installed once but the rubygems one might need to be changed after a provisioner has kicked in. As there'll be less time spent on SSH, the overall time taken to provision a VM will be lower.

I'll tentatively schedule this for 0.6.0

fgrehm commented 10 years ago

Done on d6bed34

fgrehm commented 10 years ago

For the record, I've done some initial benchmarking and the numbers are awesome.

A vagrant up from scratch using the lxc provider that have a simple 'echo "Hello world"' as a provisioner (meaning the buckets installation / auto detection will be triggered twice) went from 32sec on 0.5.1 down to 23sec on 0.6.0 \o/