On Tuesday, July 24, 2012 9:47:25 AM UTC-5, Nan Liu wrote: > > On Mon, Jul 23, 2012 at 11:10 AM, Trevor Vaughan <[email protected]> > wrote: > > So, I'm sure this has been covered somewhere, but I can't seem to find > it. > > > > Is there no 'purge' ability on the 'sshkey' type? It would be nice to > > be able to get rid of entries for hosts that are no longer present > > without actually having to write out a node declaration for each one. > > Purge isn't supported for providers based on parsed file that edit > more than one target file. So purge works for host/cron, but not > sshkey/yum. To support purging, I've used a custom define resource > based on concat files (which have other pro/cons). >
We're talking about Sshkey, not Ssh_authorized_key. As far as I know, the former ought to be managing only one file (/etc/ssh/ssh_known_hosts for most systems). Is there some reason why that type would be managing more than one file? John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/8xETw7IHQA8J. 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-users?hl=en.
