Git Product home page Git Product logo

puppet-mock's Introduction

puppet-mock

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': }

Disable management of the mock group.

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

To remove the mock group and the mock package

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

Parameters for mock class

#####ensure

Sets the ensure parameter for the classes' managed resources (defaults to 'present').

#####manage_group

Boolean that determines if the group resource is managed by this module (defaults to true).

#####group_gid

Sets the mock group's GID (defaults to '135').

#####group_name

Name of the mock group (defaults to 'mock').

#####package_name

Name of the mock package (defaults to 'mock').

Limitations

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

This module has been tested on:

  • CentOS 5/6

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 acceptance

Further Information

puppet-mock's People

Contributors

treydock avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.