Displaying 1 result from an estimated 1 matches for "mysqldirs".
Did you mean:
mysqld's
2012 Oct 09
8
Service Resources and Selinux
...heads! :) I was going to make the file_context stuff much more
re-usable, but want to get my head around the best practices first - 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 =&g...