Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
manifests
spec
.fixtures.yml
.gitignore
.pmtignore
.rspec
.travis.yml
CHANGELOG.md
Gemfile
LICENSE
README.md
REFERENCE.md
Rakefile
metadata.json

README.md

puppet-mock

Puppet Forge Build Status

Table of Contents

  1. Overview - What is the mock module?
  2. Usage - Configuration and customization options
  3. Development - Guide for contributing to the module
  4. Further Information

Overview

This module manages the basics to begin using mock to rebuild RPMs.

Usage

Class: mock

By default this class performs the following actions.

  • Includes the epel class
  • Creates the mock group
  • Installs the mock package

Define the class with default parameters.

class { 'mock': }

Add users to mock group

class { 'mock':
  group_members => ['user1', 'user2'],
}

Disable management of the mock group.

class { 'mock':
  manage_group  => false,
}

To remove the mock group and the mock package

class { 'mock':
  ensure  => 'absent',
}

Reference

http://treydock.github.io/puppet-mock/

Limitations

This module has been built on and tested against Puppet 4.7 and higher.

This module has been tested on:

  • CentOS 6/7

Development

Testing

Testing requires the following dependencies:

  • rake
  • bundler

Install gem dependencies

bundle install

Run unit tests

bundle exec rake test

If you have Vagrant >= 1.2.0 installed you can run acceptance tests

bundle exec rake beaker

Further Information

You can’t perform that action at this time.