Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
-
Night's Watch
-
2
-
NW - 2020-05-27
-
Bug Fix
-
Fix an issue where Puppet required the home directory to be managed when purging SSH keys with `purge_ssh_keys`
Description
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
Attachments
Issue Links
- causes
-
PUP-11067 Specifying purge_ssh_keys parameter for non-existing user errors out
-
- Resolved
-