Fixed selinux check in mysql::server

This commit is contained in:
Ossi Salmi 2011-10-12 13:38:11 +03:00 committed by Timo Mkinen
parent e40a51186d
commit 0ed66bddf9

View file

@ -49,7 +49,7 @@ class mysql::server {
} }
} }
if $selinux { if "${selinux}" == "true" {
selinux::manage_fcontext { "/srv/mysql(/.*)?": selinux::manage_fcontext { "/srv/mysql(/.*)?":
type => "mysqld_db_t", type => "mysqld_db_t",
before => File["/srv/mysql"], before => File["/srv/mysql"],