Forge Home


Configure the remi repository and import the GPG keys.

Philippe Beaumont



616 latest version

5.0 quality score

Version information

  • 2.0.0 (latest)
released Jul 11th 2021
This version is compatible with:
  • Puppet Enterprise 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x
  • Puppet >=5.0.0 < 8.0.0
  • RedHat

Start using this module

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

Add this declaration to your Puppetfile:

mod 'kapouik-remi', '2.0.0'
Learn more about managing modules with a Puppetfile

Add this module to a Bolt project:

bolt module add kapouik-remi
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install kapouik-remi --version 2.0.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.



kapouik/remi — version 2.0.0 Jul 11th 2021


Build Status Puppet Forge

Table of Contents

  1. Description
  2. Setup - The basics of getting started with remi
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module


This module configure Remi's RPM repository and import the RPM GPG key file.

It is a fork of hfm module that do not look like to be update anymore.


Beginning with remi

To configure the remi with default parameters, declare the remi class.

include remi


Configuring remi

class { 'remi':
  remi_safe_enabled  => 1,
  remi_php74_enabled => 1,

Configuring modules from Hiera

remi::remi_safe_enabled: 1
remi::remi_php74_enabled: 1



Public Classes

  • remi: Configure the remi repository and import the GPG keys.

Private Classes

  • remi::rpm_gpg_key: Import the RPM GPG key for the Remi.



  • ensure: Whether the RPM-GPG-KEY-remi file should exist. Default to present.
  • path: The path to the RPM-GPG-KEY-remi file to manage. Must be an absolute path. Default to '/etc/pki/rpm-gpg/RPM-GPG-KEY-remi'.


Running tests

The STNS puppet module contains tests for both rspec-puppet (unit tests) and beaker-rspec (acceptance tests) to verify functionality. For detailed information on using these tools, please see their respective documentation.

Testing quickstart

  • Unit tests:
$ bundle install
$ bundle exec rake lint
$ bundle exec rake validate
$ bundle exec rake spec
  • Acceptance tests:
# Set your DOCKER_HOST variable
$ eval "$(docker-machine env default)"

# Run beaker acceptance tests
$ BEAKER_set=centos7 bundle exec rake beaker