cookbook 'syslog_ng', '= 3.0.0'
syslog_ng
(24) Versions
3.0.0
-
Follow1
Installs and Configures syslog_ng
cookbook 'syslog_ng', '= 3.0.0', :supermarket
knife supermarket install syslog_ng
knife supermarket download syslog_ng
syslog_ng
Provides a set of resources to install and configure syslog-ng.
Maintainers
This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit sous-chefs.org or come chat with us on the Chef Community Slack in #sous-chefs.
Change Log
- See CHANGELOG.md for version details and changes.
Requirements
Cookbooks
-
yum-epel
for RHEL/CentOS/Amazon
Platforms
The following platforms are supported and tested with Test Kitchen:
- RHEL/CentOS 7+
- Ubuntu 16.04+
- Debian 8+
- Amazon Linux 2+
Resources
The following resources are provided:
- [syslog_ng_block](documentation/syslog_ng_block.md)
- [syslog_ng_config](documentation/syslog_ng_config.md)
- [syslog_ng_destination](documentation/syslog_ng_destination.md)
- [syslog_ng_filter](documentation/syslog_ng_filter.md)
- [syslog_ng_log](documentation/syslog_ng_log.md)
- [syslog_ng_package](documentation/syslog_ng_package.md)
- [syslog_ng_parser](documentation/syslog_ng_parser.md)
- [syslog_ng_rewrite](documentation/syslog_ng_rewrite.md)
- [syslog_ng_service](documentation/syslog_ng_service.md)
- [syslog_ng_source](documentation/syslog_ng_source.md)
- [syslog_ng_template](documentation/syslog_ng_template.md)
Resource Parameter Values - Notes
Parameter values can generally be passed as the expected format type for the parameter they configure, for example integers for number fields and strings for text parameters.
There are some exceptions to this rule such as the use-dns()
parameter which accepts either yes, no or persist_only
. In this case the persist_only
option is not a string but a symbol and must be passed as such else it will be quoted as per normal strings and syslog-ng will fail with a configuration error.
Contributors
This project exists thanks to all the people who contribute.
Backers
Thank you to all our backers!
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.
Dependent cookbooks
yum-epel >= 3.3.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
CHANGELOG
3.0.0 - 2021-05-11
- Chef 17 compatiblity changes - @bmhughes
- Use
.match?()
for package resource package exclusion - @bmhughes
2.1.0 - 2021-03-26
- Fix generating multiple actions from the service resource - @bmhughes
2.0.0 - 2021-03-15
- Remove package exclusion logic from ruby_block - @bmhughes
- Package resource run in unified mode - @bmhughes
- Add CentOS 8 stream to kitchen testing - @bmhughes
1.1.1 - 2020-11-28
- Remove service action from ruby_block - @bmhughes
1.1.0 - 2020-11-27
- Add enable/disable actions to control a configuration item whilst leaving the configuration file in place - @bmhughes
1.0.2 - 2020-11-20
- resolved cookstyle error: libraries/rewrite.rb:29:9 convention:
Style/RedundantCondition
- resolved cookstyle error: libraries/rewrite.rb:30:11 convention:
Layout/CaseIndentation
- resolved cookstyle error: libraries/rewrite.rb:31:13 convention:
Layout/IndentationWidth
- resolved cookstyle error: libraries/rewrite.rb:42:11 convention:
Layout/CaseIndentation
- resolved cookstyle error: libraries/rewrite.rb:43:13 convention:
Layout/IndentationWidth
- resolved cookstyle error: libraries/rewrite.rb:52:11 convention:
Layout/CaseIndentation
- resolved cookstyle error: libraries/rewrite.rb:53:13 convention:
Layout/IndentationWidth
- resolved cookstyle error: libraries/rewrite.rb:63:11 convention:
Layout/CaseIndentation
- resolved cookstyle error: libraries/rewrite.rb:64:13 convention:
Layout/IndentationWidth
- resolved cookstyle error: libraries/rewrite.rb:73:11 convention:
Layout/CaseIndentation
- resolved cookstyle error: libraries/rewrite.rb:74:13 convention:
Layout/IndentationWidth
- resolved cookstyle error: libraries/rewrite.rb:80:11 convention:
Layout/CaseIndentation
- resolved cookstyle error: libraries/rewrite.rb:81:13 convention:
Layout/IndentationWidth
- resolved cookstyle error: libraries/rewrite.rb:89:11 convention:
Layout/ElseAlignment
- resolved cookstyle error: libraries/rewrite.rb:90:13 convention:
Layout/IndentationWidth
- resolved cookstyle error: libraries/rewrite.rb:91:11 warning:
Layout/EndAlignment
- resolved cookstyle error: resources/block.rb:73:45 convention:
Style/RedundantCondition
- resolved cookstyle error: resources/destination.rb:89:45 convention:
Style/RedundantCondition
- resolved cookstyle error: resources/filter.rb:67:45 convention:
Style/RedundantCondition
- resolved cookstyle error: resources/log.rb:90:45 convention:
Style/RedundantCondition
- resolved cookstyle error: resources/parser.rb:71:45 convention:
Style/RedundantCondition
- resolved cookstyle error: resources/rewrite.rb:103:45 convention:
Style/RedundantCondition
- resolved cookstyle error: resources/source.rb:89:45 convention:
Style/RedundantCondition
- resolved cookstyle error: test/integration/config/block_test.rb:1:1 convention:
Style/Encoding
- resolved cookstyle error: test/integration/config/destination_test.rb:1:1 convention:
Style/Encoding
- resolved cookstyle error: test/integration/config/filter_test.rb:1:1 convention:
Style/Encoding
- resolved cookstyle error: test/integration/config/log_test.rb:1:1 convention:
Style/Encoding
- resolved cookstyle error: test/integration/config/package_test.rb:1:1 convention:
Style/Encoding
- resolved cookstyle error: test/integration/config/parser_test.rb:1:1 convention:
Style/Encoding
- resolved cookstyle error: test/integration/config/rewrite_test.rb:1:1 convention:
Style/Encoding
- resolved cookstyle error: test/integration/config/source_test.rb:1:1 convention:
Style/Encoding
- resolved cookstyle error: test/integration/config/template_test.rb:1:1 convention:
Style/Encoding
- resolved cookstyle error: test/integration/default/default_test.rb:1:1 convention:
Style/Encoding
- Fix the pre-service action configuration test to remove compile/converge bug - @bmhughes
- Fix
syslog_ng_package
reporting excluded packages even when there are none - @bmhughes
1.0.1 - 2020-09-16
- resolved cookstyle error: test/cookbooks/syslog_ng_test/recipes/package_copr.rb:22:14 refactor:
ChefCorrectness/InvalidPlatformFamilyInCase
- Fix configuration test running every Chef run regardless of service action - @bmhughes
1.0.0 - 2020-05-14
Version 1.0.0 has multiple breaking changes, please see [UPGRADING.md](./UPGRADING.md).
- Rename install resource to package and refactor
- The following functionality has been removed and will be required to be implemented by the integrator wrapper cookbook:
- Remove installation from COPR/Latest repositories
- Remove repoistory cleanup function
- Remove rsyslog removal function
- The
syslog_ng_template
resourcetemplate
property has been renamed totemplate_expression
to avoid a clash with the Chef template file override property - Renamed
syslog_ng_config_global
tosyslog_ng_config
- Multiple resource properties renamed
- Refactoring of helper modules
- Added the
syslog_ng_service
andsyslog_ng_block
resources
0.3.5 - 2020-05-05
- resolved cookstyle error: resources/install.rb:58:28 refactor:
ChefStyle/UsePlatformHelpers
- resolved cookstyle error: resources/install.rb:93:26 refactor:
ChefStyle/UsePlatformHelpers
v0.3.4 - 2020-01-14
- Update default COPR versions to 3.25
- Foodcritic fixes
- Update Kitchen platforms
v0.3.3 - 2019-11-16
- #25 - Fix Debian/Ubuntu latest package repository
v0.3.2 - 2019-08-20
- Add the ability to specify unquoted parameter string values as symbols.
v0.3.1 - 2019-07-09
- Add package exclude option to install resource
- Add
githead
installation option
v0.3.0 - 2019-07-04
- Default COPR repository updated to v3.22
- Add log junction/channel support
v0.2.1 - 2019-04-29
- Add missing rewrite property to log resource
- Add multi function support to rewrite resource
v0.2.0 - 2019-04-26
- Default COPR repository updated to v3.20
- Added resources to create:
- Template
- Rewrite
- Parser
- Added multiline generation for source and destinations
- Added multiple driver support for source and destinations
- Added embedded source/destination/filter statement support to the log resource
- Added latest version repo support for deb based distributions
- The
copr
install resource option has changed tolatest
to reflect addition of apt support - Added
cleanup
option to the install resource to remove superseded COPR.repo
files on update - Helper libraries refactored
- Various bug fixes
v0.1.0 - 2019-02-08
- Installs syslog-ng from distro packages or COPR on CentOS/Fedora.
- Generates global configuration file from node attributes.
- Generates from node attributes:
- Destinations
- Filters
- Sources
- Logs