-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support custom config files with logging_custom_config_files
Feature: Allow users to provide custom logging configuration files using the new variable `logging_custom_config_files` which is a list of config files to copy to the default logging configuration directory. For example, this directory for rsyslog is `/etc/rsyslog.d/`. This assumes the logging configuration will load all files matching `*.conf` in this directory as in the default rsyslog directive `$IncludeConfig /etc/rsyslog.d/*.conf`. Reason: Users need customized configuration not not provided by the role. The role allowed this previously by the use of the variable `rsyslog_custom_config_files`, but that variable was intended to be used privately and is now marked DEPRECATED. Result: Users can provide custom configuration in a supported manner. Signed-off-by: Rich Megginson <[email protected]>
- Loading branch information
Showing
5 changed files
with
50 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# need some sort of valid rsyslog here - what it does isn't important | ||
*.=crit;kern.none /var/adm/critical |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters