SELinux contexts fixes for backuppc module.
This commit is contained in:
parent
80c8a0b58f
commit
056e59a63d
1 changed files with 4 additions and 0 deletions
|
@ -25,6 +25,7 @@ define backuppc::manualclient($ensure = "present", $operatingsystem = "default")
|
|||
mode => 0640,
|
||||
owner => root,
|
||||
group => backuppc,
|
||||
seltype => "httpd_sys_script_rw_t",
|
||||
tag => "backuppc",
|
||||
require => File["/etc/BackupPC/pc"],
|
||||
notify => Exec["generate-backuppc-hosts"],
|
||||
|
@ -96,6 +97,7 @@ class backuppc::server {
|
|||
mode => 0440,
|
||||
owner => "backuppc",
|
||||
group => "backuppc",
|
||||
seltype => "httpd_sys_script_rw_t",
|
||||
require => Package["BackupPC"],
|
||||
notify => Service["backuppc"],
|
||||
}
|
||||
|
@ -107,6 +109,7 @@ class backuppc::server {
|
|||
mode => 0644,
|
||||
owner => root,
|
||||
group => backuppc,
|
||||
seltype => "httpd_sys_script_rw_t",
|
||||
require => Package["BackupPC"],
|
||||
notify => Exec["generate-backuppc-hosts"],
|
||||
}
|
||||
|
@ -119,6 +122,7 @@ class backuppc::server {
|
|||
mode => 0640,
|
||||
owner => root,
|
||||
group => backuppc,
|
||||
seltype => "httpd_sys_script_rw_t",
|
||||
source => "puppet:///custom/empty",
|
||||
require => Package["BackupPC"],
|
||||
notify => Exec["generate-backuppc-hosts"],
|
||||
|
|
Loading…
Add table
Reference in a new issue