https://github.com/jonathanporta/monitoring-cookbook
https://github.com/jonathanporta/monitoring-cookbook
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/jonathanporta/monitoring-cookbook
- Owner: JonathanPorta
- License: wtfpl
- Created: 2018-01-21T14:07:48.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-21T16:02:23.000Z (over 8 years ago)
- Last Synced: 2025-01-24T19:36:57.787Z (over 1 year ago)
- Language: Shell
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# monitoring Cookbook [](https://travis-ci.org/jonathanporta/monitoring-cookbook)
To bootstrap a machine and install this cookbook:
$ curl https://raw.githubusercontent.com/jonathanporta/monitoring-cookbook/master/install.sh | bash
To keep the machine converged:
$ ./autochef.sh
## Development and Contributing
0. You'll need [bundler](http://github.com/carlhuda/bundler) and [chef-dk](https://github.com/chef/chef-dk).
1. Clone this repository from GitHub:
$ git clone git@github.com:_username_/_repo_.git
2. Create a git branch
$ git checkout -b feature/my_shiny_new_thang
3. Install dependencies:
$ bundle install
4. Make your changes/patches/fixes, committing appropiately
5. **Write tests**
6. Run the tests:
- `chef exec rake` - Runs foodcritic, rspec, rubocop, and kitchen test
Run tests individually:
- `chef exec foodcritic -f any .`
- `chef exec rake spec`
- `chef exec rubocop`
- `chef exec kitchen test`
In detail:
- Foodcritic will catch any Chef-specific style errors
- RSpec will run the unit tests
- Rubocop will check for Ruby-specific style errors
- Test Kitchen will run and converge the recipes
### Guard
You can have [Guard](https://github.com/guard/guard) watch files and
automatically run tests as you make changes:
$ bundle exec guard
## License and Authors
Author: Jonathan Porta
Copyright (C) 2015 Jonathan Porta
Please see `LICENSE` for a copy of the license.