Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-7592

purge_ssh_keys parameter requires home to be set in the manifest

    Details

    • Template:
    • Acceptance Criteria:
      Hide

      purge_ssh_keys not requiring home to be set in resource definition

      Show
      purge_ssh_keys not requiring home to be set in resource definition
    • Team:
      Coremunity

      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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jimethn@gmail.com Jonathan Lynch
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Zendesk Support