user_ssh_pubkey
Collect users' SSH public keys and make available as Facts
Version information
released Sep 3rd 2014
This version is compatible with:
Start using this module
Add this module to your Puppetfile:
mod 'wcooley-user_ssh_pubkey', '0.1.0'
Learn more about managing modules with a PuppetfileDocumentation
wcooley/user_ssh_pubkey — version 0.1.0 Sep 3rd 2014
Facter facts: user_ssh_pubkey
Collect users' SSH public keys and make available as facts. These facts
can then be collected as exported resources to populate ssh_authorized_key
resources.
Facts with the following formats are created, which correspond with the
parameters for the ssh_authorized_key
type:
<username>_ssh(rsa|dsa)key
<username>_ssh(rsa|dsa)key_comment
<username>_ssh(rsa|dsa)key_type
The list of users whose public keys are to be collected as facts is configured
by the user_ssh_pubkey
fact, which can be set using external facts. For
example:
$ cat /etc/facter/facts.d/user_ssh_pubkey.yaml
---
user_ssh_pubkey: jensenb,alice,bob
License
Apache 2.0
Contact
Wil Cooley <wcooley(at)nakedape.cc>
Support
Please log tickets and issues at our Github issues.