Coder Social home page Coder Social logo

puppet-zypprepo's Introduction

puppet-zypprepo

License Build Status Puppet Forge Puppet Forge - downloads Puppet Forge - endorsement Puppet Forge - scores

Overview

'zypprepo' - The client-side description of a zypper repository.

Usage

Version 3.1.0 introduced a rewrite of the zypprepo type and added a full functional provider based on puppetlabs-yumrepo_core. The type is now ensurable. To keep previous behavior, it defaults to present, which makes the ensure parameter optional

zypprepo { 'openSUSE_12.1':
  ensure        => present,
  baseurl       => 'http://download.opensuse.org/distribution/12.1/repo/oss/suse/',
  enabled       => 1,
  autorefresh   => 1,
  name          => 'openSUSE_12.1',
  gpgcheck      => 1,
  repo_gpgcheck => 1,
  pkg_gpgcheck  => 1,
  priority      => 98,
  keeppackages  => 1,
  type          => 'rpm-md',
}

Lock a package with the versionlock plugin

Locks explicitly specified packages from updates. Package name must be precisely specified in format NAME-VERSION-RELEASE.ARCH. Wild card in package name is allowed provided it does not span a field seperator.

PLEASE NOTE: Once you define a lock in code, all locks must be defined in code.

zypprepo::versionlock { 'bash-4.1.2-9.sles12.*': }

Use the following command to retrieve a properly-formated string:

PACKAGE_NAME='bash'
rpm -q "$PACKAGE_NAME" --qf '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n'

This Puppet 'type' is a port of the 'yumrepo' type from 2.7 code base and is licensed under the Apache-2.0.

puppet-zypprepo's People

Contributors

bastelfreak avatar deadpoint avatar alexjfisher avatar jhoblitt avatar root-expert avatar llowder avatar smortex avatar zilchms avatar mx-psi avatar msurato avatar dhoppe avatar dadav avatar wyardley avatar tragiccode avatar tampakrap avatar sandra-thieme avatar mmoll avatar maxadamo avatar tuxmea avatar kenyon avatar scottjab avatar ghoneycutt avatar egoexpress avatar juniorsysadmin avatar benkevan avatar laserguy2020 avatar

Watchers

James Cloos avatar  avatar

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.