Fixed $selinux check from tftp::server.
This commit is contained in:
parent
84f0f1694c
commit
11a5de8781
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class tftp::server {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if $selinux {
|
if "${selinux}" == "true" {
|
||||||
selinux::manage_fcontext { "/srv/tftpboot(/.*)?":
|
selinux::manage_fcontext { "/srv/tftpboot(/.*)?":
|
||||||
type => "tftpdir_t",
|
type => "tftpdir_t",
|
||||||
before => File["/srv/tftpboot"],
|
before => File["/srv/tftpboot"],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue