Version information
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
Documentation
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
2014-09-02 - Release 0.9.2
Fix metadata.json
Bugfixes
- Fix metadata.json module dependencies
2014-08-20 - Release 0.9.1
Summary
Fix GPG key import check when key is specified in $content.
Bugfixes
- Fix GPG key import check when key is specified in $content.
2014-08-07 - Release 0.9.0
Summary
Initial release.
Dependencies
- puppetlabs/stdlib (>= 4.0.0)
The MIT License (MIT) Copyright (c) 2014 Institute of Computer Science, Masaryk University Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.