Fixed SELinux contexts from apache logrotate script.
This commit is contained in:
parent
cd6cd656e2
commit
c7d064b58e
1 changed files with 3 additions and 0 deletions
|
@ -43,6 +43,9 @@ class apache::common {
|
||||||
mode => 0755,
|
mode => 0755,
|
||||||
owner => root,
|
owner => root,
|
||||||
group => root,
|
group => root,
|
||||||
|
seluser => "system_u",
|
||||||
|
selrole => "object_r",
|
||||||
|
seltype => "httpd_rotatelogs_exec_t",
|
||||||
}
|
}
|
||||||
|
|
||||||
cron { "www-logrotate":
|
cron { "www-logrotate":
|
||||||
|
|
Loading…
Add table
Reference in a new issue