Skip to content

cruelsmith/puppet-zypprepo

This branch is 44 commits behind voxpupuli/puppet-zypprepo:master.

Folders and files

NameName
Last commit message
Last commit date
Sep 17, 2021
Apr 9, 2021
Jul 25, 2020
Sep 17, 2021
Mar 17, 2020
Sep 17, 2021
Mar 17, 2020
Sep 17, 2021
Sep 17, 2021
Sep 17, 2021
Sep 17, 2021
Sep 17, 2021
Sep 17, 2021
Sep 17, 2021
May 12, 2017
Aug 26, 2021
Sep 17, 2021
Sep 17, 2021
May 14, 2017
Jan 11, 2021
Sep 17, 2021
Aug 26, 2021

Repository files navigation

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.

About

Puppet description of a zypper repository

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 89.9%
  • Puppet 9.0%
  • Dockerfile 1.1%