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 => 'ad...@domain.tld' }

# enroll multiple keys for a user
sshauthkeys{ user: keys => [ 'ad...@domain.tld','u...@domain.tld'] }

# if you want to reuse a team, make it an array for multiple defines
$team = [ 'ad...@domain.tld', 'us...@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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to