Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
PUP 4.10.1
-
SLES 11 with Puppet 4.x
-
-
Night's Watch
-
2
-
NW - 2020-04-29, NW - 2020-05-13
-
Customer Feedback
-
Reviewed
-
Bug Fix
-
-
Needs Assessment
Description
Setting the user resource's expiry to `absent` in SLES 11 results in the expiry for the user to be `1970-01-01` instead of `never`. This is different from what is seen in CentOS 6/7, and results in users that are not able to authenticate.
# puppet resource user testuser ensure=present expiry=absent
|
Notice: /User[testuser]/ensure: created
|
user { 'testuser':
|
ensure => 'present',
|
expiry => '1970-01-01',
|
}
|
# puppet resource user testuser ensure=present expiry=absent
|
Notice: /User[testuser]/expiry: undefined 'expiry' from '1970-01-01'
|
user { 'testuser':
|
ensure => 'present',
|
expiry => '1970-01-01',
|
}
|