repoforge

Configure the repoforge repository and import the GPG keys.

Okumura Takahiro

hfm

6,266 downloads

6,266 latest version

5.0 quality score

Version information

  • 1.0.0 (latest)
released Mar 31st 2016
This version is compatible with:
  • RedHat
    ,
    CentOS
    ,
    Scientific Linux

Start using this module

Documentation

hfm/repoforge — version 1.0.0 Mar 31st 2016

puppet-repoforge

Build Status Puppet Forge

Table of Contents

  1. Description
  2. Setup - The basics of getting started with repoforge
  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

Description

This module configure repoforge's RPM repository and import RPM-GPG-KEY-rpmforge-dag and RPM-GPG-KEY-rpmforge-fabian.

Setup

Beginning with repoforge

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

include repoforge

Usage

Configuring repoforge

class { 'repoforge':
  rpmforge_enabled        => 1,
  rpmforge_extras_enabled => 1,
}

Configuring modules from Hiera

---
repoforge::rpmforge_enabled: 1
repoforge::rpmforge_extras_enabled: 1

Reference

Classes

Public Classes

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

Defined Types

  • repoforge::rpm_gpg_key: Import the RPM GPG key.

Limitations

This module has been tested on:

  • RedHat Enterprise Linux 5, 6, 7
  • CentOS 5, 6, 7
  • Scientific Linux 5, 6, 7

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