Skip to content
Snippets Groups Projects
Commit e2461dd8 authored by Thomas Bellman's avatar Thomas Bellman
Browse files

syslog::client: Install RELP packages when needed.

Using the RELP protocol in the syslog::client class requires that
the omrelp output module is available, and in RHEL, that is provided
by the rsyslog-relp package.  Obviously I hadn't tested this very
much when I wrote this class two years ago, because I had missed to
get it to install that package...  Let's get that fixed now.
parent 8932d49e
No related branches found
No related tags found
No related merge requests found
......@@ -42,6 +42,9 @@ class syslog::client(
"%s\t\t%s[%s]%s;%s\n",
$selector, $protoprefix, $syslogaddrs[0], $xport, $format)
if ($protocol == 'relp') {
include syslog::relp_package
}
file {
$cfg_d_file:
ensure => file, owner => 'root', group => 'root', mode => '0444',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment