Hi,
I just wanted to let you know I wrote a little wrapper for Puppet''s
ssh key deployment, so you are able to deploy ssh keys for multiple
users and can easily deal with groups. You can find the module at:
https://github.com/damokles/puppet-sshauthkeys
The core syntax is:
# just enroll one key for root user
sshauthkeys{ root: keys => ''admin@domain.tld'' }
# enroll multiple keys for a user
sshauthkeys{ user: keys => [
''admin@domain.tld'',''user@domain.tld''] }
# if you want to reuse a team, make it an array for multiple defines
$team = [ ''admin@domain.tld'',
''user2@domain.tld'' ]
sshauthkeys{ user2: keys => $team }
sshauthkeys{ user3: keys => $team }
Please note, I wrote this module after few days of using Puppet, so
excuse any non standard coding.
Any hints on improvments and pull requests are welcome.
Best,
ccm.
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.