Removed redundant if in backuppc::server

This commit is contained in:
Ossi Salmi 2012-11-17 11:30:44 +02:00
parent 8d283aa6a5
commit ad74d5d12c

View file

@ -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"
} }