- Description
- Usage - Configuration options and additional functionality
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
Manage PGP public and private keys in GnuPG keyrings.
The command gnupg
is required for the functions provided in this module.
Including the base class in a manifest will ensure the appropriate GnuPG package is installed for a supported operating system.
include gnupg
This is for convenience and may be skipped if you prefer to manage installing the GnuPG command line tool.
gnupg_key { 'hkp_server_20BC0A86':
ensure => present,
key_id => '20BC0A86',
user => 'root',
key_server => 'hkp://pgp.mit.edu/',
key_type => 'public',
}
gnupg_key { 'jenkins_foo_key':
ensure => present,
key_id => 'D50582E6',
user => 'foo',
key_source => 'puppet:///modules/gnupg/D50582E6.key',
key_type => 'public',
}
gnupg_key { 'root_remove_20BC0A86':
ensure => absent,
key_id => '20BC0A86',
user => 'root',
key_type => 'public',
}
gnupg_key { 'root_remove_20BC0A66':
ensure => absent,
key_id => '20BC0A66',
user => 'root',
key_type => 'both',
}
Refer to the Version Information section for this module on the
Puppet Forge, or the operatingsystem_support
key in metadata.json
of the source code.
Contributions are welcome and encouraged! Please submit a pull request to the project on Github. Priority will be given to contributions that include tests and documentation. If you're unfamiliar, that's okay, someone will help guide you through the process.
Forked from version 1.2.3 of the gnupg module developed by Dejan Golja