Comments (5)
This makes good sense. Initially I was relying on Vagrant and Berkshelf "magic" to handle cookbooks, roles, and data bags for me in Jamie's early days. Once I started writing the bluebox and ec2 drivers then the problem needed to be solved more generally.
Unless you have any bugs or blockers I'd like to circle back to this after test-kitchen/test-kitchen#35 is dealt with. That should speed up the converge action on all drivers and Vagrant should get a speed boost for free at that point.
from kitchen-vagrant.
Update, I think I'm going to go this way now. If I ask Vagrant for its SSH config (with vagrant ssh-config
), then I can make straight up SSH calls to the VM. Seems like the right thing to do 😄
from kitchen-vagrant.
Do we need to upload using SCP or can't we just use the built-in vagrant chef-solo provisioning which automatically adds shared folders for the cookbook path? This would avoid running SCP every time while testing.
Adding chef.cookbooks_path ["some", "paths"] in the Vagrantfile should be enough
Now the question is how to populate the path correctly ? it seems that the private method "local_cookbooks" from the ChefDataUploader does the job for librarian/berkshelf managed repositories.
from kitchen-vagrant.
This should be closed out with #12
from kitchen-vagrant.
@brugidou thanks to @fujin's pull request you can keep the Vagrant/chef-solo provisioning by enabling the follow settings:
---
driver_plugin: vagrant
driver_config:
use_vagrant_provision: true
use_vagrant_berkshelf_plugin: true
The primary reason for veering slightly away from the builtin Vagrant approach is that small inconsistencies build up between the vagrant driver and all other drivers. I've even seen some new features propsed via kitchen-vagrant that need re-implementation for the other drivers. Hopefully this will help. Then again, we'll see 😄
from kitchen-vagrant.
Related Issues (20)
- hyper-v error HOT 3
- kitchen converage error HOT 1
- Kitchen converge fails on Windows 10 syncing initial cookbooks HOT 1
- <VagrantPlugins::RDP::Config:0x00000001039ce8f8> (NoMethodError) HOT 4
- Specifying custom SSH port does not work HOT 1
- Provide a way to change the main disk's size HOT 1
- SMB File Shares are hanging HOT 1
- kitchen create error(s) - hyper-v win server 2016 guest HOT 2
- Add qemuargs to libvirt section HOT 2
- Windows WSL with Hyper-V fails HOT 1
- box_auto_prune: true - do not cause an error when an older box is still actively in use on the machine, just wait until the next run to try again HOT 1
- box_auto_update -- produces an error when no box exists already to check for an update against HOT 2
- Consider always warning when a new box is available
- kitchen adds carriage return to shebang on bootstrap.sh when converging effortless package HOT 1
- SSH Config not sufficient in WSL2 HOT 4
- Unable to configure network with Vagrant/VirtualBox HOT 7
- Unable to configure network with Vagrant/VirtualBox HOT 3
- `network': wrong number of arguments (given 2, expected 1) (ArgumentError) HOT 1
- RSA key no longer accepted by OpenSSH 8.8+ HOT 1
- AWS credentials not passing through to Vagrant box HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kitchen-vagrant.