Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support custom config files with logging_custom_config_files #399

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

richm
Copy link
Collaborator

@richm richm commented Jul 16, 2024

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 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 rmeggins@redhat.com

@richm richm force-pushed the improve-support-for-custom branch from 1af0bbf to 025b7be Compare July 16, 2024 16:56
@richm
Copy link
Collaborator Author

richm commented Jul 16, 2024

[citest]

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 <rmeggins@redhat.com>
@richm richm force-pushed the improve-support-for-custom branch from 025b7be to a78707e Compare July 16, 2024 18:28
@richm richm merged commit 2477d37 into linux-system-roles:main Jul 22, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant