Fixed "Unrecognised escape sequence" error from syslog SELinux support.
This commit is contained in:
parent
3b0f211a20
commit
bd0d4d67cc
1 changed files with 2 additions and 2 deletions
|
@ -246,12 +246,12 @@ class syslog::common::standalone inherits syslog::common {
|
|||
}
|
||||
|
||||
if "${selinux}" == "true" {
|
||||
selinux::manage_fcontext { "/srv/log(/all\.log)?":
|
||||
selinux::manage_fcontext { "/srv/log(/all\\.log)?":
|
||||
type => "var_log_t",
|
||||
before => File["/srv/log"],
|
||||
}
|
||||
if $syslog_datadir {
|
||||
selinux::manage_fcontext { "${syslog_datadir}(/all\.log)?":
|
||||
selinux::manage_fcontext { "${syslog_datadir}(/all\\.log)?":
|
||||
type => "var_log_t",
|
||||
before => File[$syslog_datadir],
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue