Forge Home


Puppet module for SSH Authorized_keys Management


20,113 latest version

2.2 quality score

Version information

  • 0.0.1 (latest)
released Sep 28th 2013

Start using this module

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

Add this module to your Puppetfile:

mod 'nightfly-ssh_keys', '0.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add nightfly-ssh_keys
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install nightfly-ssh_keys --version 0.0.1

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.



nightfly/ssh_keys — version 0.0.1 Sep 28th 2013

SSH Keys Module

Sage Imel

A concat based ssh authorized_keys management solution created mostly to work around ssh_authorized_keys not being able to purge old keys. Also since authorized keys are managed as file-lines you are not restricted to the subset of ssh authorized_keys functionality that the ssh_authorized_keys resource imposes.



Quick Start

This module has been tested on Ubuntu though it is intended to work on any Unix/Linux like supported playform.

Example Usage

Managing Keys

include ssh_keys

  manage_ssh_dir => true,
  key_line => 'ssh-rsa long-key-here foo@bar',
  user     => 'foo',