-
Type:
Bug
-
Status: Resolved
-
Priority:
Normal
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: PUP 6.16.0, PUP 5.5.21
-
Component/s: Types and Providers
-
Template:customfield_10700 147251
-
Acceptance Criteria:
-
Team:Night's Watch
-
Story Points:2
-
Sprint:NW - 2020-05-27
-
Release Notes:Bug Fix
-
Release Notes Summary:Fix an issue where Puppet required the home directory to be managed when purging SSH keys with `purge_ssh_keys`
If you try to manage a user using puppet and set purge_ssh_keys option to true, it fails unless the user has home directory set in the manifest. For example:
user { 'root':
|
purge_ssh_keys => true,
|
}
|
Expected result:
Keys are purged.
Actual result:
Failed to apply catalog: Parameter purge_ssh_keys failed on User[root]: Munging failed for value true in class purge_ssh_keys: purge_ssh_keys can only be true for users with a defined home directory at PATH_TO_MANIFEST_HERE