SELinux context fixes for BackupPC data directory.
This commit is contained in:
parent
2c7af9cefd
commit
b826e5d54c
1 changed files with 4 additions and 1 deletions
|
@ -70,7 +70,10 @@ class backuppc::server {
|
||||||
group => "root",
|
group => "root",
|
||||||
require => Package["BackupPC"],
|
require => Package["BackupPC"],
|
||||||
}
|
}
|
||||||
|
selinux::manage_fcontext { "${backuppc_datadir}(/.*)?":
|
||||||
|
type => "var_lib_t",
|
||||||
|
before => File[$backuppc_datadir],
|
||||||
|
}
|
||||||
file { "/var/lib/BackupPC":
|
file { "/var/lib/BackupPC":
|
||||||
ensure => $backuppc_datadir,
|
ensure => $backuppc_datadir,
|
||||||
force => true,
|
force => true,
|
||||||
|
|
Loading…
Add table
Reference in a new issue