Forge Home

opensuse_repo

Configure Zypper for OpenSUSE repositories

13,080 downloads

7,316 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.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

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

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

Add this module to your Puppetfile:

mod 'ceritsc-opensuse_repo', '1.3.20160727'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add ceritsc-opensuse_repo
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install ceritsc-opensuse_repo --version 1.3.20160727

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

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