Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcusg/vagrantchef
repo to test vagrant with chef
https://github.com/marcusg/vagrantchef
Last synced: about 14 hours ago
JSON representation
repo to test vagrant with chef
- Host: GitHub
- URL: https://github.com/marcusg/vagrantchef
- Owner: marcusg
- Created: 2014-08-24T14:41:54.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-31T09:56:46.000Z (over 10 years ago)
- Last Synced: 2024-11-09T13:46:32.363Z (about 2 months ago)
- Language: Ruby
- Size: 199 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
vagrantchef
===========repo to test vagrant with chef
### Required tools on host system
- virtualbox 4.x
- bsdtar (on newer virtualbox versions)### Config
- Adjust path to ssh public key file in `Vagrantfile` (needed for first setup)
- Copy ssh public key to `data_bags/users/deploy.json` to ensure passwordless access to server### Build box
bundle install
vagrant up### Prepare box and run recipes
bundle exec knife solo prepare [email protected]
bundle exec knife solo cook [email protected] nodes/base.json### Tests
Run tests against vagrant instance (run `prepare` and `cook` commands before)
rspec
### Disable Host key verification
put in `~/.ssh/config`
Host 192.168.33.*
StrictHostKeyChecking no
UserKnownHostsFile=/dev/null