17 ms·
Is anyone really using Vagrant for anything more than quick tasks on your local dev machines? I always perceived Vagrant as a hack.
by ironjunkie 9y ago
Is anyone really using Vagrant for anything more than quick tasks on your local dev machines? I always perceived Vagrant as a hack.
- ridiculous_fish 9y agoI use Vagrant to let me test on multiple Linux and BSD distros. The large number of available boxes makes this easy.
- raziel2p 9y agoWhat would you do instead if you want to test things that need to run on actual VMs? Configuration management or whatever. Is booting a VM at a public cloud provider any less of a hack?
- vultour 9y agoLast time I did this I just created a base VM that had Ansible set up and anytime you wanted to get the latest environment you just ran a script. Although I admit that I'm sort of an infrastructure fanatic and love Ansible, so that might be why I steer away from things like Vagrant.
- stephenr 9y agoIt's a ruby app to standardise configuring and provisioning VMs on any one of a number of hypervisor/container platforms. How would you provide reproducible dev environments?
- ironjunkie 9y agoVagrant is definitely wonderful to quickly provision VMs across multiple hypervisors, but that's where I also see it as a hack. It will not always replicate exactly what you need on each hypervisor, and so many times you will end up with something not working (example: synced folders with host). I have always managed my VMs directly in KVM. Takes more time but I don't rely on a middle-layer//wrapper.
- stephenr 9y agoIf things like synced folders don't work it's usually an issue related to the "guest tools" not being installed/updated/running for that given hypervisor. If you have well built boxes it shouldn't be an issue.