Forge Home

user_ssh_pubkey

Collect users' SSH public keys and make available as Facts

13,115 downloads

7,049 latest version

4.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 1.0.0 (latest)
  • 0.2.2
  • 0.2.1
  • 0.2.0
  • 0.1.0
released Sep 3rd 2014
This version is compatible with:

    Start using this module

    • r10k or Code Manager
    • Bolt
    • Manual installation
    • Direct download

    Add this module to your Puppetfile:

    mod 'wcooley-user_ssh_pubkey', '0.1.0'
    Learn more about managing modules with a Puppetfile

    Add this module to your Bolt project:

    bolt module add wcooley-user_ssh_pubkey
    Learn more about using this module with an existing project

    Manually install this module globally with Puppet module tool:

    puppet module install wcooley-user_ssh_pubkey --version 0.1.0

    Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

    Download

    Documentation

    wcooley/user_ssh_pubkey — version 0.1.0 Sep 3rd 2014

    Facter facts: user_ssh_pubkey

    Build
Status

    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.