A rather opinionated cookbook to provision and configure workstations
git
: To checkout the repochef-workstation
: Need chef-client and chef
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
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.
RSpec is used for unit tests.
$ chef exec rspec
Test kitchen is used for integration tests.
$ kitchen test