https://github.com/ericsson/puppet-module-osrepos_wrapper
Wrapper to choose the OS specific package repository class
https://github.com/ericsson/puppet-module-osrepos_wrapper
Last synced: 5 months ago
JSON representation
Wrapper to choose the OS specific package repository class
- Host: GitHub
- URL: https://github.com/ericsson/puppet-module-osrepos_wrapper
- Owner: Ericsson
- Created: 2017-05-04T15:03:23.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-31T09:13:45.000Z (about 7 years ago)
- Last Synced: 2025-05-07T18:16:22.404Z (8 months ago)
- Language: Ruby
- Size: 9.77 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# puppet-module-osrepos_wrapper
#### Table of Contents
1. [Module Description](#module-description)
2. [Compatibility](#compatibility)
3. [Class Descriptions](#class-descriptions)
* [osrepos_wrapper](#class-osrepos_wrapper)
# Module description
A simple wrapper to decide which class is called for managing OS package
repositories. Based on the osfamily of a system apt or swrepo will be
included in the catalogue. Further configuration details needs to be
configured at hiera level for the used class.
This wrapper is passive, on unsupported osfamilies it will not add
resources to the catalogue nor fail the compilation.
# Compatibility
This module has been tested to work on the following systems with the latest
Puppet v3, v3 with future parser, v4, v5 and v6. See `.travis.yml` for the
exact matrix of supported Puppet and ruby versions.
* Debian 6
* Debian 7
* Debian 8
* EL 5
* EL 6
* EL 7
* SLED 11
* SLED 12
* SLES 11
* SLES 12
* Ubuntu 10.04
* Ubuntu 12.04
* Ubuntu 14.04
* Ubuntu 16.04
Support is directly depending on the sourced classes apt and swrepo:
* https://github.com/puppetlabs/puppetlabs-apt.git
* https://github.com/jwennerberg/puppet-module-swrepo.git
[](https://travis-ci.org/Phil-Friderici/puppet-module-osrepos_wrapper)
# Class Descriptions
## Class `osrepos_wrapper`
### Description
The osrepos_wrapper class will decide which class is called for managing
OS package repositories based on the osfamily of the system.
When running on RedHat or Suse it will call swrepo, on Debian and Ubuntu
apt will be used by default.
### Parameters
---
#### repoclass (type: String)
Alternative class to call for managing package repositories if specified.
Configuration needs to be configured at hiera level for the given class.
- *Default*: 'undef'
---