Update logrotate cookbook

This commit is contained in:
Greg Karékinian
2017-05-02 11:58:32 +02:00
parent 180b3f5df0
commit ccbf11a407
23 changed files with 679 additions and 506 deletions

View File

@@ -11,6 +11,36 @@
- Please ensure all tests and lint checking pass before submitting
pull requests.
## Testing
## Development
Please read TESTING.md for details on testing this cookbook.
### Requirements
- Ruby 2.0+
- Bundler (`gem install bundler`)
- [Vagrant](https://vagrantup.com)
- [VirtualBox](https://virtualbox.org)
### Development Flow
1. Clone the git repository from GitHub:
$ git clone git@github.com:stevendanna/logrotate.git
2. Install the dependencies using bundler:
$ bundle install
3. Create a branch for your changes:
$ git checkout -b my_bug_fix
4. Make any changes
5. Write tests to support those changes. It is highly recommended you
write both unit and integration tests.
6. Run the tests:
- `make travis`
- `kitchen test`
7. Assuming the tests pass, open a Pull Request on GitHub