- Overview - What is the mock module?
- Usage - Configuration and customization options
- Development - Guide for contributing to the module
- Further Information
This module manages the basics to begin using mock to rebuild RPMs.
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',
}
http://treydock.github.io/puppet-mock/
This module has been built on and tested against Puppet 4.7 and higher.
This module has been tested on:
- CentOS 6/7
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