Fixed "Unrecognised escape sequence" error from syslog SELinux support.

This commit is contained in:
Timo Mkinen 2011-12-01 18:02:25 +02:00
parent 3b0f211a20
commit bd0d4d67cc

View file

@ -246,12 +246,12 @@ class syslog::common::standalone inherits syslog::common {
} }
if "${selinux}" == "true" { if "${selinux}" == "true" {
selinux::manage_fcontext { "/srv/log(/all\.log)?": selinux::manage_fcontext { "/srv/log(/all\\.log)?":
type => "var_log_t", type => "var_log_t",
before => File["/srv/log"], before => File["/srv/log"],
} }
if $syslog_datadir { if $syslog_datadir {
selinux::manage_fcontext { "${syslog_datadir}(/all\.log)?": selinux::manage_fcontext { "${syslog_datadir}(/all\\.log)?":
type => "var_log_t", type => "var_log_t",
before => File[$syslog_datadir], before => File[$syslog_datadir],
} }