Update logrotate cookbook
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user