how are your users defined? I know that opscode is using a data bag, so you could just add a field in there and have a recipe walk the user list and drop in the ssh key for each user. Remember if your using a nfs home share only run the recipe on one system to save a lot of data bag processing.
Joshua
On Jul 29, 2010, at 3:10 AM, Dmitry V'yal wrote:
> Greetings,
>
> Is there a convenient way to extend built-in chef resources? Right now I'm thinking about the User resource. For my purposes it would be nice to have an attribute for managing contents of ~/.ssh/authorized_keys. Of course, I could have patched chef sources, but maybe a better way exists.
>
> Thanks,
> Dmitry
Archive powered by MHonArc 2.6.16.