https://github.com/nvnivs/jarbas
Chef based workstation setup
https://github.com/nvnivs/jarbas
chef devops
Last synced: about 13 hours ago
JSON representation
Chef based workstation setup
- Host: GitHub
- URL: https://github.com/nvnivs/jarbas
- Owner: nvnivs
- License: other
- Created: 2019-06-07T07:49:59.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2024-11-18T18:36:55.000Z (over 1 year ago)
- Last Synced: 2024-11-18T19:42:49.682Z (over 1 year ago)
- Topics: chef, devops
- Language: HTML
- Homepage:
- Size: 613 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# jarbas
A rather opinionated cookbook to provision and configure workstations
## Pre-requisites
* `git`: To checkout the repo
* `chef-workstation`: Need chef-client and chef
## How to use
Run the converge script to execute the entire setup
$ ./bin/converge.sh
Named run lists can be executed by passing the name as the first positional parameter
$ ./bin/converge.sh aws
After the first setup, `converge.sh` is aliased to `j`, so the above can be used as
$ j aws
## Custom attributes
Node attributes are set on `${HOME}/.jarbas.json`. This file will be created on the first run if not found.
To run additional recipes override `jarbas['recipes']` with a list of any recipes you want to run on the node.
## Testing
### Unit
RSpec is used for unit tests.
$ chef exec rspec
### Integration
Test kitchen is used for integration tests.
$ kitchen test