https://github.com/hfm/puppet-remi
Configure the remi repository and import the GPG keys.
https://github.com/hfm/puppet-remi
centos php puppet redhat remi
Last synced: about 2 months ago
JSON representation
Configure the remi repository and import the GPG keys.
- Host: GitHub
- URL: https://github.com/hfm/puppet-remi
- Owner: hfm
- Created: 2016-03-23T21:19:24.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-07-06T05:17:23.000Z (almost 3 years ago)
- Last Synced: 2025-04-14T05:49:16.339Z (2 months ago)
- Topics: centos, php, puppet, redhat, remi
- Language: Puppet
- Homepage: https://forge.puppet.com/hfm/remi
- Size: 95.7 KB
- Stars: 4
- Watchers: 2
- Forks: 19
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# puppet-remi
[](https://travis-ci.org/hfm/puppet-remi)
[](https://forge.puppet.com/hfm/remi)#### Table of Contents
1. [Description](#description)
1. [Setup - The basics of getting started with remi](#setup)
* [Beginning with remi](#beginning-with-remi)
1. [Usage - Configuration options and additional functionality](#usage)
1. [Reference - An under-the-hood peek at what the module is doing and how](#reference)
1. [Limitations - OS compatibility, etc.](#limitations)
1. [Development - Guide for contributing to the module](#development)## Description
This module configure [Remi's RPM repository](http://rpms.famillecollet.com/) and import RPM-GPG-KEY-remi.
## Setup
### Beginning with remi
To configure the remi with default parameters, declare the `remi` class.
```puppet
include remi
```## Usage
### Configuring remi
```puppet
class { 'remi':
remi_safe_enabled => 1,
remi_php71_enabled => 1,
}
```### Configuring modules from Hiera
```yaml
---
remi::remi_safe_enabled: 1
remi::remi_php71_enabled: 1
```## Reference
### Classes
#### Public Classes
- [`remi`](#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](http://rspec-puppet.com/) (unit tests) and [beaker-rspec](https://github.com/puppetlabs/beaker-rspec) (acceptance tests) to verify functionality. For detailed information on using these tools, please see their respective documentation.
#### Testing quickstart
- Unit tests:
```console
$ bundle install
$ bundle exec rake lint
$ bundle exec rake validate
$ bundle exec rake spec
```- Acceptance tests:
```console
# Set your DOCKER_HOST variable
$ eval "$(docker-machine env default)"# Run beaker acceptance tests
$ BEAKER_set=centos7 bundle exec rake beaker
```