Skip to content
This repository has been archived by the owner on Mar 7, 2018. It is now read-only.

Add vagrant-cachier to gds-development #27

Closed
wants to merge 1 commit into from

Conversation

jabley
Copy link
Contributor

@jabley jabley commented Aug 10, 2013

This should probably be a default in both here and our Vagrantfile, to
speed up provisioning.

This should probably be a default in both here and our Vagrantfile, to
speed up provisioning.
@bradwright
Copy link
Contributor

It has a bug in VMWare Fusion.

@jabley
Copy link
Contributor Author

jabley commented Aug 10, 2013

😢

Not go in Vagrantfile then, or just in a virtualbox initializer until that gets fixed?

config.vm.provider :virtualbox do |vm|
      config.cache.auto_detect = true
      ...
end

@dcarley
Copy link
Contributor

dcarley commented Aug 12, 2013

👍

@jabley
Copy link
Contributor Author

jabley commented Aug 12, 2013

Meh - this actually seems to break for me locally, so closing for now.

@jabley jabley closed this Aug 12, 2013
@dcarley
Copy link
Contributor

dcarley commented Aug 12, 2013

For what value of break?

@jabley
Copy link
Contributor Author

jabley commented Aug 12, 2013

When running vagrant up --provider vmware_fusion:

/Users/jabley/.vagrant.d/gems/gems/vagrant-cachier-0.3.0/lib/vagrant-cachier/provision_ext.rb:37:in `configure_cache_buckets': undefined method `[]' for nil:NilClass (NoMethodError)
    from /Users/jabley/.vagrant.d/gems/gems/vagrant-cachier-0.3.0/lib/vagrant-cachier/provision_ext.rb:32:in `run_provisioner'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/builtin/provision.rb:53:in `block in call'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/builtin/provision.rb:49:in `each'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/builtin/provision.rb:49:in `call'
    from /Users/jabley/.vagrant.d/gems/gems/vagrant-cachier-0.3.0/lib/vagrant-cachier/provision_ext.rb:14:in `call'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/warden.rb:34:in `call'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/builtin/lock.rb:51:in `call'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/warden.rb:34:in `call'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/runner.rb:61:in `block in run'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/util/busy.rb:19:in `busy'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/runner.rb:61:in `run'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/builtin/call.rb:51:in `call'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/warden.rb:34:in `call'
    from /Users/jabley/.vagrant.d/gems/gems/vagrant-vmware-fusion-0.8.3/lib/vagrant-vmware-fusion/action_farm.rb:80:in `call'

@samjsharpe
Copy link
Contributor

I'm kinda in favour of adding this. The number of people with VMWare is small (including me) and this massively speeds up provisioning with multiple VMs and multiple times for everyone using Virtualbox. I'm sure we could just wrap it in an if condition that excludes vmware users.

@bradwright
Copy link
Contributor

I wasn't protesting it being merged, I was just flagging that it's broken in VMWare Fusion. Those using VMWare Fusion at the moment are on the bleeding edge so they can sort themselves out.

@samjsharpe samjsharpe deleted the gds-dev-vagrant-cachier branch February 16, 2014 22:14
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.

4 participants