Skip to content

Commit 530ab13

Browse files
author
Yvan Broccard
committedFeb 26, 2020
fix EL8 for pam mkhomedir config
1 parent 5ea3fbf commit 530ab13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎manifests/init.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
case $::osfamily {
192192
'RedHat': {
193193
if ($::facts['os']['name'] == 'Fedora' and versioncmp($::facts['os']['release']['major'], '28') >= 0) or
194-
( $::facts['os']['name'] == 'Redhat' and versioncmp($::facts['os']['release']['major'], '8') >= 0) {
194+
( $::facts['os']['family'] == 'Redhat' and versioncmp($::facts['os']['release']['major'], '8') >= 0) {
195195
if $ensure == 'present' {
196196
$authselect_options = join(
197197
concat(

0 commit comments

Comments
 (0)
Please sign in to comment.