Giter Site home page Giter Site logo

vholer / puppet-obs_repo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cerit-sc/puppet-opensuse_repo

0.0 3.0 1.0 811 KB

Puppet module for managing OpenSUSE Build Service repositories on client

Home Page: https://forge.puppet.com/vholer/obs_repo

License: MIT License

Makefile 1.37% Puppet 98.63%

puppet-obs_repo's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.