An open API service indexing awesome lists of open source software.

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

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