On Jan 6, 2011, at 5:36 AM, Stefan Schulte wrote: > On Tue, Nov 30, 2010 at 12:38:43PM -0800, Luke Kanies wrote: >> The reason target is a property is because a resource can be moved from one >> file to another, and the only way I could find to implement that was to make >> target a property. >> >> It's always felt messy to do it that way, but I've never found another way. > > Is this feature used anywhere? At least it's not what I expect puppet to > do and I'm a bit afraid that managing e.g. an ssh_authorized_key for one > user can erase the key from the authorized keys file of other users > as soon as puppet is aware of that second target.
I think the ssh_authorized_key type is one of the reasons I set it up that way, actually. It's kind of an automatic byproduct of how resources are managed across multiple files - all files are considered to be a single pool of resources, so you have to have a means of saying you want a resource moved from one file to another. -- Humphrey's Law of the Efficacy of Prayer: In a dangerous world there will always be more people around whose prayers for their own safety have been answered than those whose prayers have not. --------------------------------------------------------------------- Luke Kanies -|- http://puppetlabs.com -|- +1(615)594-8199 -- You received this message because you are subscribed to the Google Groups "Puppet Developers" 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-dev?hl=en.
