Displaying 1 result from an estimated 1 matches for "add_selinux_context".
2012 Oct 09
8
Service Resources and Selinux
...irst - as
I''m not that experiened with all of this stuff to be honest!
Many thanks. Tom.
# List of directories we''re going to use with MySQL
$mysqldirs = [ "/home/data", "/home/logs", "/home/mysqltmp", ]
# Set SELinux contexts
define add_selinux_context ($context = "mysqld_db_t") {
file { $name:
ensure => "directory",
owner => "mysql",
group => "mysql",
seltype => "mysqld_db_t",
selinux_ignore_defaults => "true",
recurse =...