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

Add a missing resource dependency.

Editing /etc/sysconfig/rsyslog needs to require the rsyslog package.
Things have worked in practice anyway, since rsyslog is installed by
default in both EL-6 and EL-7, but we should properly declare our
dependencies.
parent 1bd55820
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,7 @@ class syslog::central_server( ...@@ -20,6 +20,7 @@ class syslog::central_server(
subsystem => 'rsyslog', subsystem => 'rsyslog',
setting => 'SYSLOGD_OPTIONS', setting => 'SYSLOGD_OPTIONS',
value => '"-c5"', value => '"-c5"',
require => Package['rsyslog'],
notify => Service['rsyslog']; notify => Service['rsyslog'];
} }
file { file {
...@@ -37,6 +38,7 @@ class syslog::central_server( ...@@ -37,6 +38,7 @@ class syslog::central_server(
subsystem => 'rsyslog', subsystem => 'rsyslog',
setting => 'SYSLOGD_OPTIONS', setting => 'SYSLOGD_OPTIONS',
value => '""', value => '""',
require => Package['rsyslog'],
notify => Service['rsyslog']; notify => Service['rsyslog'];
} }
file { file {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment