3.0 KiB
3.0 KiB
logrotate Cookbook CHANGELOG
This file is used to list changes made in each version of the logrotate cookbook.
v1.8.0
Resolved Bugs
su
parameter now supported in global config.
Improvements
- firstaction and lastaction attributes documented in the README
- rotate attribute documented in the README
- Use hash-rocket syntax in rspec matcher to maintain 1.9 support.
v1.7.0
Bugs
- Use
raise
rather than Application.fatal! to prevent killing a daemonized chef-client
Improvements
- Chefspec matcher for logrotate_app definition
- Support the following options: compressoptions, maxage, shred/shredcycles, extension, tabooext
- Add Solaris support
v1.6.0
Bugs
- Fix documentation error
Improvements
- Support for options "compresscmd", "uncompresscmd", "compressext"
- Allow nodateext as parameter for logrotate_app definition
- Move to chefspec ~> 3.0
v1.5.0
Bugs
- Fix missing end tag in template
- Don't re-initialize constants.
- Fix rubocop finding
Improvements
- [COOK-3911] Allow to use maxsize parameter.
- [COOK-4000] Allow to use dateyesterday option.
- [COOK-4024] Allow to use su parameter.
- [COOK-4175] Allows use of the dateformat parameter.
- Loosen test-kitchen version constraint
- Add rvm files to gitignore
v1.4.0
Bug
- COOK-3632 - Raise Exception when adding more than one invalid option
- COOK-3141 - Do not duplicate template entires for multiple paths
- COOK-3034 - Update logrotate_app params to accept arrays and strings
Improvement
- COOK-2646 - Add ability to choose file mode for logrotate template
v1.3.0
Improvement
- COOK-3341 - Add optional
frequency
androtate
params when defined globally - COOK-3298 - Use
Array
instead ofrespond_to?(:each)
- COOK-3285 - Change
logrotate.d
config file mode to0644
- COOK-3250 - Add
minsize
Bug
- COOK-3274 - Fix README typo that suggested the opposite action
New Feature
v1.2.2
Bug
- [COOK-2872]: Add firstaction/lastaction ability to logrotate
- [COOK-2908]: Argument error in
logrotate_app
definition
v1.2.0
- [COOK-2401] - Add the ability to manage the global logrotate configuration
v1.1.0
- [COOK-2218] - Logrotate size parameter
v1.0.2
- [COOK-1027] - Add support for pre-/post-rotate commands
- [COOK-1338] - Update log rotate for more flexibility of rotate options
- [COOK-1598] - "Create" isn't a mandatory option