Forge Home

yum

YUM utilities

13,442,748 downloads

13,148,599 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.

Version information

  • 0.9.8 (latest)
  • 0.9.7 (deleted)
  • 0.9.6
  • 0.9.5
  • 0.9.4
  • 0.9.3
  • 0.9.2
  • 0.9.1
  • 0.9.0
released Sep 2nd 2014
This version is compatible with:
  • Puppet Enterprise 3.3.x
  • Puppet 3.3
  • RedHat, CentOS, OracleLinux, Scientific, SLES, SLED
This module has been deprecated by its author since Jan 5th 2018.

The author has suggested puppet-yum as its replacement.

Start using this module

Tags: package, yum

Documentation

ceritsc/yum — version 0.9.2 Sep 2nd 2014

Puppet yum module

This module provides helpful definitions for dealing with yum.

Requirements

Module has been tested on:

  • Puppet 3.1.0
  • CentOS 6.3

Usage

yum::gpgkey

Import/remove GPG RPM signing key.

Key defined in recipe (inline):

yum::gpgkey { '/etc/pki/rpm-gpg/RPM-GPG-KEY-puppet-smoketest1':
  ensure  => present,
  content => '-----BEGIN PGP PUBLIC KEY BLOCK-----
...
-----END PGP PUBLIC KEY BLOCK-----',
}

Key stored on Puppet fileserver:

yum::gpgkey { '/etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org':
  ensure  => present,
  source  => 'puppet:///modules/elrepo/RPM-GPG-KEY-elrepo.org',
}

yum::plugin

Install or remove yum plugin:

yum::plugin { 'versionlock':
  ensure  => present,
}

yum::versionlock

Locks explicitly specified packages from updates. Package name must be precisely specified in format EPOCH:NAME-VERSION-RELEASE.ARCH. Wild card in package name is allowed or automatically appended, but be careful and always first check on target machine if your package is matched correctly! Following definitions create same configuration lines:

yum::versionlock {
  '0:bash-4.1.2-9.el6_2.*':
    ensure  => present;
  '0:bash-4.1.2-9.el6_2.':
    ensure  => present;
}

yum::group

Install or remove yum package group:

yum::group { 'X Window System':
  ensure  => present,
}

CERIT Scientific Cloud, support@cerit-sc.cz