erwbgy/puppet-ssh

authorized_keys entries created for wrong user

egraaf opened this issue · 1 comments

It seems that authorized_keys entries are created for the wrong user:

yaml entry:

ssh::keys::admin:
  type: 'ssh-dss'
  public_key: 'KEYDATA'
ssh::access::allow:
  - 'admin'
  - 'john'
ssh::users:
  john:
    allow: [ 'admin' ]

I would expect the authorized_keys file for user john to be changed, but the authorized_keys file for user admin was changed.

Yes you're right. Fixed in erwbgy/ssh 0.2.1 just uploaded to Puppet Forge.

Thanks for the report.

  • Keith