Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-10506

purge_ssh_keys parameter requires home to be set in the manifest

    XMLWordPrintable

    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:
      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`

      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:
            gabriel.nagy Gabriel Nagy
            Reporter:
            jimethn@gmail.com Jonathan Lynch
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support