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

PR (2247) Ability to purge .ssh/authorized_keys

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 3.6.0
    • Component/s: None
    • Labels:
    • Template:
    • Story Points:
      2
    • Sprint:
      Week 2014-3-12 to 2014-3-19, Week 2014-3-19 to 2014-3-26, Week 2014-3-26 to 2014-4-02

      Description

      As I'm new to puppet i'll try to describe this as good as i can.

      I wanted to use the ssh_authorized_key type to add keys to ssh. After a discussion on irc i was suggested to use virtual resources and realize each key for each class needed. This worked well for me.

      However i am not able to purge all other keys from the authorized_keys file without either specifying the comment or by copying an empty file there before adding the keys, which causes the system to lock up until the update is done.

      I tried using resources{} type, but as ssh_authorized_key doesn't support "self.instances" this was also of no success.

      The feature i'd like to have is an implementation of "instances" so resources{} works for authorized_keys.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                redmine.exporter redmine.exporter
              • Votes:
                13 Vote for this issue
                Watchers:
                24 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support