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], }