Version information
released Sep 27th 2023
This version is compatible with:
- Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x
- Puppet >=7.0.0 < 9.0.0
- , ,
Start using this module
Add this module to your Puppetfile:
mod 'kapouik-remi', '2.2.0'
Learn more about managing modules with a PuppetfileDocumentation
kapouik/remi — version 2.2.0 Sep 27th 2023
puppet-remi
Table of Contents
- Description
- Setup - The basics of getting started with remi
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
Description
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.
Setup
Beginning with remi
To configure the remi with default parameters, declare the remi
class.
include remi
Usage
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
Reference
Classes
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.
Parameters
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'.
Development
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
Changelog
v2.2.0 (2023-09-27)
- Add support for php 8.2 and php 8.3
- Update pdk to 3.0.0
- Add support for el9
v2.1.0 (2022-03-15)
- Add support for php 8.1
- Update pdk to 2.4.0
v2.0.0 (2021-07-09)
- Update pdk to 2.1.0
- Support for centos 8
- Drop support for centos 6
- Support for PHP 7.4 and 8.0
- Support Puppet 7.x and stdlib 7.x
- Better rspec validation test
v1.11.0 (2018-10-18)
v1.10.0 (2018-10-18)
v1.9.0 (2018-10-02)
v1.8.0 (2018-06-08)
Release 1.7.0 (2018-01-24)
Release 1.6.0 (2017-11-30)
Release 1.5.0 (2017/03/26)
- Support remi-php53 repository #7
Release 1.4.0 (2016/12/29)
- Change: Use resource default and gpgcheck is true by default #6
Release 1.3.2 (2016/12/29)
- Fix: remi-safe and remi-php7* repos dont support centos 5 #5
Release 1.3.1 (2016/12/02)
- Support PHP7.1 in remi repo #4
Release 1.2.0 (2016/07/27)
- Wrap epel declaration in if statement #3
Release 1.1.6 (2016/05/03)
- Fix: Fixed error importing rpm key #2
Release 1.0.1 - 1.1.4 (2016/03/24)
- Some fixes.
Release 1.0.0 (2016/03/24)
- Initial release.
Dependencies
- puppetlabs/stdlib (>= 9.0.0 < 10.0.0)
- puppetlabs/yumrepo_core (>= 2.0.0 < 3.0.0)
- puppet/epel (>= 3.0.0 < 6.0.0)