Skip to content

Puppet module for managing OpenSUSE additional repositories on client

License

Notifications You must be signed in to change notification settings

CERIT-SC/puppet-opensuse_repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This module is not maintained anymore. Please switch to https://forge.puppet.com/vholer/obs_repo or https://github.com/vholer/puppet-obs_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

About

Puppet module for managing OpenSUSE additional repositories on client

Resources

License

Stars

Watchers

Forks

Packages

No packages published