Version information
released Sep 28th 2013
Start using this module
Add this module to your Puppetfile:
mod 'nightfly-ssh_keys', '0.0.1'
Learn more about managing modules with a PuppetfileDocumentation
nightfly/ssh_keys — version 0.0.1 Sep 28th 2013
SSH Keys Module
Sage Imel sage@sagenite.net
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.
Dependencies
Required
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
ssh_keys::user{'foo':
manage_ssh_dir => true,
}
ssh_keys::authorized_key{'foo-laptop':
key_line => 'ssh-rsa long-key-here foo@bar',
user => 'foo',
}
Dependencies
- puppetlabs/concat (>=1.0.0)
Copyright (C) 2013 Sage Imel Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.