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

purge_ssh_keys parameter requires home to be set in the manifest

    XMLWordPrintable

Details

    • 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
    • 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

          Activity

            People

              gabriel.nagy Gabriel Nagy
              jimethn@gmail.com Jonathan Lynch
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support