Feature #7937

ssh_authorized_key should have a replace attribute

Added by Abel Lopez about 2 years ago. Updated over 1 year ago.

Status:AcceptedStart date:06/15/2011
Priority:LowDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Affected Puppet version: Branch:
Keywords:

Description

It would be useful to have a ‘true|false’ replace attribute for the ssh_authorized_key resource. Currently, it just appends, which is nice, but being able to replace would make key expiry easy.

History

#1 Updated by Jacob Helwig about 2 years ago

  • Status changed from Unreviewed to Accepted

Sounds like you want the purge behaviour that some of the other resource types support. It would definitely be nice to be able to manage exactly which keys are in the authorized_keys file, without having to use actual file resources to overwrite the entire file.

Also available in: Atom PDF