Forge Home

rpm_gpgkey

Puppet defined type to install RPM GPG keys

10,932 downloads

10,932 latest version

2.9 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.1.0 (latest)
released Jun 2nd 2014

Start using this module

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

Add this module to your Puppetfile:

mod 'wcooley-rpm_gpgkey', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add wcooley-rpm_gpgkey
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install wcooley-rpm_gpgkey --version 0.1.0

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.

Download

Documentation

wcooley/rpm_gpgkey — version 0.1.0 Jun 2nd 2014

rpm_gpgkey

Purpose

This provides the defined type rpm_gpgkey, for installing GPG keys for RPM.

Unlike Yum, RHN/Spacewalk client does not automatically import GPG keys, so it is necessary to do so outside of RHN client.

Note that it does not currently manage the RPM GPG key file itself.

Example

$epel6key = '/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6'

rpm_gpgkey { 'epel-6':
  keyid => '0608b895',
  path => $epel6key,
}

file { $epel6key:
  source => 'puppet:///xxx/RPM-GPG-KEY-EPEL-6',
}

File[$epel6key] -> Rpm_gpgkey['epel-6']

License

See LICENSE.