Forge Home

obs_repo

Configure Zypper for OpenSUSE repositories

7,282 downloads

5,635 latest version

3.1 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 1.7.0 (latest)
  • 1.5.20160727
released Nov 17th 2017
This version is compatible with:
  • Puppet 4.0
  • SLES, SLED, OpenSuSE, SuSE

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'vholer-obs_repo', '1.7.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add vholer-obs_repo
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install vholer-obs_repo --version 1.7.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: suse, opensuse, obs

Documentation

vholer/obs_repo — version 1.7.0 Nov 17th 2017

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