camptocamp / puppet-accounts

11 stars 40 forks source link

please add a hiera way to list multiple keys for one single user #40

Open danduk82 opened 8 years ago

danduk82 commented 8 years ago

Hello, I wonder if there would be an elegant and hiera-like way to add mulitple ssh keys for one single user.

This could be something like

accounts::ssh_keys:
  foo:
    - fooa:
      type: 'rsa'
      public: 'AAABLABLA=='
      comment: 'foo a key'
    - foob:
      type: 'rsa'
      public: 'AAABLABLI=='
      comment: 'foo b key'
 bar:
  type: 'rsa'
  public: 'AABBBBB'
etc

or a "group" of keys callable with @foo syntax.

Does this make sense to you?

Cheers

mdebarre commented 8 years ago

@danduk82 do you have an answer to your question ?

danduk82 commented 8 years ago

@mdebarre , hello, no not yet. Is there any following with this issue ? (I would call it more a feature request)

Bests

jschaeff commented 7 years ago

See my comment en issue #54, does it make sense for you ?