opensuse_repo

Configure Zypper for OpenSUSE repositories

CERIT Scientific Cloud

ceritsc

11,686 downloads

6,416 latest version

3.1 quality score

Version information

  • 1.3.20150922
  • 1.3.20141204
  • 1.3.20160727 (latest)
  • 1.2.20141204
  • 1.2.20140902
  • 1.1.20140829
  • 1.0.20140807
released Jul 27th 2016
This version is compatible with:
  • Puppet Enterprise 3.3.x
  • Puppet 3.3
  • SLES, SLED, OpenSuSE, SuSE

Start using this module

Tags: suse, opensuse, obs

Documentation

ceritsc/opensuse_repo — version 1.3.20160727 Jul 27th 2016

This module is not maintained anymore. Please switch to https://forge.puppet.com/vholer/opensuse_repo or https://github.com/vholer/puppet-opensuse_repo

Puppet OpenSUSE repositories module

This module manages local configuration of repositories from the OpenSUSE (http://download.opensuse.org/repositories). It contains mirror of public signing GPG keys, which can be automatically imported before adding new repository.

Requirements

Module has been tested on:

  • Puppet 3.3
  • SLES 11 SP3

Required modules:

Quick Start

Add repository and import mirrored GPG key. Example:

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

Full configuration options:

opensuse_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
  local_gpgkey => true|false,  # use GPG key from module
  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 opensuse_repo::multiple

With Hiera only resolved parameters:

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

CERIT Scientific Cloud, support@cerit-sc.cz