gnupg: == Class: gnupg Manage gnupg and public key entries === Parameters [package_ensure] Remove or install the s3tools package. Possible vagnupg::installgnupg::params: PRIVATE CLASS: do not use directly
gnupg_key: Manage PGP public keys with GnuPG
== Class: gnupg
Manage gnupg and public key entries
=== Parameters
[package_ensure] Remove or install the s3tools package. Possible values present or absent, however most of modern Linux distros relays on gnupg so you shouldn't remove the package
[package_name] name of the package usually gnupg/gnupg2 depends of the distro
=== Examples
include gnupg
=== Authors
Dejan Golja dejan@golja.org
The following parameters are available in the gnupg class:
Data type: Any
Default value: $gnupg::params::package_ensure
Data type: Any
Default value: $gnupg::params::package_name
The gnupg::install class.
PRIVATE CLASS: do not use directly
Manage PGP public keys with GnuPG
The following properties are available in the gnupg_key type.
Valid values: present, absent
The basic property that the resource should be in.
Default value: present
The following parameters are available in the gnupg_key type.
The gnupg home directory. Overrides the default user's homedir.
Default value: false
Key content. The result of exporting the key using ASCII armor. Can be either a public or private key.
Key ID. Usually the traditional 8-character key ID. Also accepted the long more accurate (but less convenient) 16-character key ID.
PGP key server from where to retrieve the public key
A source file containing PGP key. Values can be URIs pointing to remote files, or fully qualified paths to files available on the local system.
The available URI schemes are puppet, https, http and file. Puppet URIs will retrieve files from Puppet's built-in file server, and are usually formatted as:
puppet:///modules/name_of_module/filename
Valid values: public, private, both
The type of the key(s) being managed.
Default value: public
namevar
This attribute is currently used as a system-wide primary key - namevar and therefore has to be unique.
The specific backend to use for this gnupg_key resource. You will seldom need to specify this --- Puppet will usually
discover the appropriate provider for your platform.
Set the proxy to use for HTTP and HKP keyservers.
The user account in which the PGP public key should be installed. Usually it's stored in HOME/.gnupg/ dir