obs_repo

Configure Zypper for OpenSUSE repositories
Vlastimil Holer

Vlastimil Holer

vholer

5,433 downloads

3,878 latest version

3.1 quality score

Version information

  • 1.7.0 (latest)
  • 1.5.20160727
released Jul 3rd 2019
This version is compatible with:
  • Puppet 4.0
  • SLES, SLED, OpenSuSE, SuSE

Start using this module

Tags: suse, opensuse, obs

Documentation

vholer/obs_repo — version 1.7.0 Jul 3rd 2019

Puppet OpenSUSE Build Service repositories module

Puppet Forge

This module manages local configuration of repositories from the OpenSUSE (http://download.opensuse.org/repositories). It automatically imports the GPG key if checking is enabled.

Requirements

Module has been tested on:

  • Puppet 5.3
  • OpenSUSE 42.3

Required modules:

Quick Start

Add repository and import mirrored GPG key. Example:

obs_repo { 'systemsmanagement:/puppet':
  enabled => 0,
}

Full configuration options:

obs_repo { name:
  enabled      => 0|1|absent,  # enable state
  descr        => '...',       # repository description
  urlprefix    => 'http://download.opensuse.org/repositories',
  baseurl      => '...',       # custom repository URL
  platform     => '...',       # custom repository platform
  gpgkey       => '...',       # custom GPG key URL
  gpgcheck     => 0|1,         # check GPG signatures?
  autorefresh  => 0|1,         # autorefresh repo. metadata?
  keeppackages => 0|1,         # keep downloaded files?
  type         => '...',       # repository type (format)
}

Class wrapper for adding multiple repositories via Hiera:

include obs_repo::multiple

With Hiera only resolved parameters:

  • repos - array of repository names
  • options - hash of opensuse_repo options