The prometheus cookbook uses Github to triage, manage, and track issues and changes to the cookbook.
Everybody is welcome to submit patches, but we ask you keep the following guidelines in mind:
The submitted code should be compatible with the standard Ruby coding guidelines. Here are some additional resources:
This cookbook is equipped with Rubocop, which will fail the build for violating these standards.
Whether your pull request is a bug fix or introduces new classes or methods to the project, we kindly ask that you include tests for your changes. Even if it's just a small improvement, a test is necessary to ensure the bug is never re-introduced.
We understand that not all users are familiar with the testing ecosystem. This cookbook is fully-tested using Foodcritic, Rubocop, and Test Kitchen with Serverspec bussers.
-
Clone the git repository from GitHub:
$ git clone git@github.com:rayrod2030/chef-prometheus.git
-
Make sure you have a sane ChefDK development environment:
$ chef version
-
Make any changes
-
Write tests to support those changes.
-
Run the tests:
$ kitchen verify
-
Assuming the tests pass, commit your changes