Hi all, I'd like to add one ssh_key to several (1500) user accounts.
Accounts share some prefix, so I was thinking on a regular expression, but after reading language_guide, I understood that I cannot use reg.expr for that. So, I have a couple of ideas: 1.) define authorized_keys file like: file { [ '/home/XXXuser1' , '/home/XXXuser2' .... ] : content => $key, mode => ... 2.-) exec some kind of script which creates the .ssh dir and adds content. 3.-) define 1500 authorized keys Anyone could give more elegant/efficient ideas for this purpose? TIA, Arnau -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.