From bd0d4d67cce48f625a9ae65669aea20668a95f0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Thu, 1 Dec 2011 18:02:25 +0200 Subject: [PATCH] Fixed "Unrecognised escape sequence" error from syslog SELinux support. --- syslog/manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syslog/manifests/init.pp b/syslog/manifests/init.pp index 903d57f..920faba 100644 --- a/syslog/manifests/init.pp +++ b/syslog/manifests/init.pp @@ -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], }