Removed redundant if in backuppc::server
This commit is contained in:
parent
8d283aa6a5
commit
ad74d5d12c
1 changed files with 2 additions and 4 deletions
|
@ -115,14 +115,12 @@ class backuppc::server {
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
$backuppc_seltype = "httpd_sys_rw_content_t"
|
$backuppc_seltype = "httpd_sys_rw_content_t"
|
||||||
if $::selinux == "true" {
|
|
||||||
selinux::manage_fcontext { "/etc/BackupPC(/.*)?":
|
selinux::manage_fcontext { "/etc/BackupPC(/.*)?":
|
||||||
type => $backuppc_seltype,
|
type => $backuppc_seltype,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
default: {
|
default: {
|
||||||
$backuppc_seltype = "httpd_sys_rw_content_t"
|
$backuppc_seltype = "httpd_sys_rw_content_t"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue