vagrant-cachier-ng/spec/acceptance/fixtures/auto-detect-disable-apt.rb
Darragh Bailey 7807d2bbaa Allow explicit disabling of auto detected buckets
Add config option to identify buckets that should not be automatically
enabled with using `config.cache.auto_detect = true`.

After turning on the auto_detect behaviour, with this change you can
now explicitly disable any bucket type through your Vagrantfile e.g.
`config.cache.disable = :chef_gem`.

Fixes #115
2015-03-03 11:36:17 +00:00

16 lines
410 B
Ruby

Vagrant.configure("2") do |config|
config.vm.provider :virtualbox do |_, override|
override.vm.box = "chef/ubuntu-14.04"
end
config.vm.provider :lxc do |_, override|
override.vm.box = "fgrehm/trusty64-lxc"
end
config.cache.auto_detect = true
config.cache.disable = :apt
config.cache.scope = :machine
config.vm.provision :shell, inline: 'apt-get update && apt-get install -y git'
end