pam: Fix check for selinux in pam::mkhomedir
This commit is contained in:
parent
7b81b76ed2
commit
1815ec2ea6
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class pam::mkhomedir($umask="0077") {
|
|||
|
||||
case $::operatingsystem {
|
||||
"centos","redhat","fedora": {
|
||||
if $::selinux {
|
||||
if $::selinux == "true" {
|
||||
package { "oddjob-mkhomedir":
|
||||
ensure => installed,
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue