rsyslog breaks if include_rsyslog_d is set to true in rsyslog::config

Description

Setting rsyslog::config::include_rsyslog_d: true in Hiera (or equivalent) breaks rsyslog. This happens because a rule is added to include /etc/rsyslog.d/ but really the rule should be to include /etc/rsyslog.d/*.conf so as to not accidentally parse things such as the certificates that SIMP puts into that directory. There will be a related bug about not putting the certs in that directory but this is a bug regardless.

For anyone reading this ticket in the future, the symptoms that proved this was broken included spewing log files and directories that look like random hash strings into `/` on whatever filesystem had this rule applied.

Acceptance Criteria

None

Activity

Show:
Kendall Moore
October 16, 2019, 9:40 PM

I’ll make a PR for this tonight.

Kendall Moore
October 16, 2019, 9:46 PM

Link to ticket that was realized as a part of debugging this:

Labels

None

Epic Link

None

Story Points

None

Components

Affects versions

Priority

Medium
Configure