Issue #15778 has been updated by Stefan Schulte.

Status changed from Unreviewed to Needs More Information
Assignee set to Andrea M

Can you please post your resource that is causing the duplication and the 
duplicate lines in your authorized key file? In general the type is idempotent. 
Puppet will check the existance of a key by checking the comment field (that is 
the title of the resource).
----------------------------------------
Bug #15778: ssh_authorized_key is not idempotent
https://projects.puppetlabs.com/issues/15778#change-68338

Author: Andrea M
Status: Needs More Information
Priority: Normal
Assignee: Andrea M
Category: ssh
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


When an ssh_authorized_key resource type is applied multiple times, the 
authorized_keys grows with keys being repeated. Since operations should be 
idempotent, this procedure needs to include logic that checks for the existence 
of the key before adding it. 


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to