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 {
|
case $::operatingsystem {
|
||||||
"centos","redhat","fedora": {
|
"centos","redhat","fedora": {
|
||||||
if $::selinux {
|
if $::selinux == "true" {
|
||||||
package { "oddjob-mkhomedir":
|
package { "oddjob-mkhomedir":
|
||||||
ensure => installed,
|
ensure => installed,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue