Removed /var/spool/rsyslog directory creation if TLS is not used.
This commit is contained in:
parent
4c306cbf81
commit
d9ed7a8cae
1 changed files with 11 additions and 9 deletions
|
@ -161,6 +161,7 @@ class syslog::client::rsyslog {
|
|||
notify => Service["rsyslog"],
|
||||
}
|
||||
|
||||
if $syslog_tlsserver {
|
||||
file { "/var/spool/rsyslog":
|
||||
ensure => directory,
|
||||
mode => "0700",
|
||||
|
@ -171,6 +172,7 @@ class syslog::client::rsyslog {
|
|||
},
|
||||
before => Service["rsyslog"],
|
||||
}
|
||||
}
|
||||
|
||||
service { "rsyslog":
|
||||
ensure => running,
|
||||
|
|
Loading…
Add table
Reference in a new issue