rpmgpgkey

Install an RPM-GPG-key from a URL

Jonathan Gazeley

jgazeley

5,780 downloads

5,780 latest version

3.8 quality score

Version information

  • 0.1.0 (latest)
released Sep 22nd 2016

Start using this module

Documentation

jgazeley/rpmgpgkey — version 0.1.0 Sep 22nd 2016

rpmgpgkey

Table of Contents

  1. Overview
  2. Usage - Configuration options and additional functionality
  3. Limitations - OS compatibility, etc.
  4. Development - Guide for contributing to the module

Overview

Install an RPM-GPG-Key from a URL. Useful when using the yumrepo resource type to configure a yum repo with a GPG key on a web server that you need to retrieve and store locally in /etc/pki/rpm-gpg/.

Usage

rpmgpgkey { 'RPM-GPG-KEY-CentOS-7':
  ensure => 'present',
  url    => 'http://www.mirrorservice.org/sites/mirror.centos.org/RPM-GPG-KEY-CentOS-7',
}

Limitations

This module is very simple and has some hard-coded paths. It was developed on CentOS/Fedora but may need tweaking for other platforms.

Development

Pull requests welcome.