A Puppet module for managing GPG keys
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
Aaron Hicks fa3d1daab8 declaring title in test incorrectly 6 лет назад
lib/puppet Add a GPG key type and provider from https://github.com/crayfishx/puppet-gpg 6 лет назад
manifests changing how and where files are declared, updating tests 6 лет назад
spec declaring title in test incorrectly 6 лет назад
templates Removed maxdays and mindate fields, not suitable for GPG keys. May now even generate the key generation file. 6 лет назад
tests Initial Commit after unblanking and cleaning 6 лет назад
.fixtures.yml and if only I could spell or type 6 лет назад
.gitignore added a .gitignore 7 лет назад
.travis.yml Failure permitted for Puppet 2.6.0 6 лет назад
Gemfile Replace source with secure connection to 'https://rubygems.org' 6 лет назад
Modulefile Initial Commit after unblanking and cleaning 6 лет назад
README.markdown Beginning to set up a GPG keymaster based on https://github.com/boklm/puppet-sshkeys [ci-skip] 6 лет назад
Rakefile Gemfile and Rakefile also required for Travis 6 лет назад
gpl.txt Changed from the Creative Commons (which is not suitable for software) to the GPL 7 лет назад

README.markdown

gpg

This is a Puppet module for handing GPG keys.

Build Status

Install GPG tools

To install the GPG tools:

include gpg

This should be run before using the GPG type or setting up the keymaster.

GPG Keymaster

Type and Provider for GPG

A gpgkey type is provided for managing and creating gpg keys on the fly. These will regenerate the GPG key on the node, so the GPG key will be unique each time it is created. This provider is most suitable for nodes that do not require their public GPG key to be widely published.

This has been copied from the implementation at: https://github.com/crayfishx/puppet-gpg

Example:

gpgkey{'hostkey':
  ensure  => present,
  email   => 'puppet@example.org'
}

Parameters

These are the parameters of the gpgkey type:

  • keytype The key type (RSA or DSA), defaults to RSA.
  • keylength The bit length of the generated key, defaults to 4096.
  • subkeytype The subkey type (RSA, Elgamal, or sign-only), defaults to RSA.
  • subkeylength The bit length of the generated subkey, defaults to 4096.
  • email The email address embedded into the key, defaults to puppet@localhost
  • expire The expiry string; 0 does not expire, expires in n days, w expires in n weeks, m expires in n months, and y expires in n years. Defaults to 0 and does not expire.
  • password Sets the key passphrase, defauls to “ (empty string).
  • armour Sets ASCII Armoured output, defaults to true.

NOTE: though the key type and subkey type can be changed, it is recommended that the defaults are used.

Licensing

Update your license details here.

References

Attribution

This module is derived from the puppet-blank module by Aaron Hicks (aethylred@gmail.com)

This module has been developed for the use with Open Source Puppet (Apache 2.0 license) for automating server & service deployment.

Gnu General Public License

This file is part of the gpg Puppet module.

The gpg Puppet module is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

The gpg Puppet module is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with the gpg Puppet module. If not, see http://www.gnu.org/licenses/.