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

user resource does not remove duplicate ssh keys in different locations

    XMLWordPrintable

    Details

    • Template:
    • Team:
      Platform OS
    • QA Risk Assessment:
      Needs Assessment

      Description

      This might be very obscure but if you specify the following:

      user { 'jeff':
       home => '/home/jeff',
       purge_ssh_keys => ['/var/lib/ssh/jeff/authorized_keys','/home/jeff/.ssh/authorized_keys'],
      }

      And the keys in both locations are identical then only one location's keys will be removed. In my test this has been the last location's keys.

      If you run puppet apply two times then both locations keys will be removed. If you alter the keys to have different names then all keys will get removed simultaneously.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              ggeldenhuis Gerhardus Geldenhuis
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Zendesk Support