All Projects → CERIT-SC → Puppet Yum

CERIT-SC / Puppet Yum

Licence: mit
Puppet module for Yum

Labels

Projects that are alternatives of or similar to Puppet Yum

Vagrant Rails Dev
my vagrant rails development box
Stars: ✭ 16 (+128.57%)
Mutual labels:  puppet
Puppet Zookeeper
Puppet module for managing Apache ZooKeeper
Stars: ✭ 19 (+171.43%)
Mutual labels:  puppet
Vagrant Puppet Nginx Uwsgi Flask
A pretty bare set up for running Flask in nginx through uwsgi in Vagrant deployed by Puppet. Got it?
Stars: ✭ 25 (+257.14%)
Mutual labels:  puppet
Vagrant Solr
Stars: ✭ 17 (+142.86%)
Mutual labels:  puppet
Fuel Plugin External Glusterfs
MOVED: now at https://opendev.org/x/fuel-plugin-external-glusterfs
Stars: ✭ 19 (+171.43%)
Mutual labels:  puppet
Download Your Travelmap
free your travelmap
Stars: ✭ 22 (+214.29%)
Mutual labels:  puppet
Fuel Plugin Glance Nfs
MOVED: now at https://opendev.org/x/fuel-plugin-glance-nfs
Stars: ✭ 16 (+128.57%)
Mutual labels:  puppet
Puppet Node manager
Create and manage PE node groups as resources.
Stars: ✭ 7 (+0%)
Mutual labels:  puppet
Dockerfiles
Stars: ✭ 19 (+171.43%)
Mutual labels:  puppet
Drupal Puppet
Puppet modules for managing Drupal and the LAMP stack
Stars: ✭ 24 (+242.86%)
Mutual labels:  puppet
Puppet Mediawiki
This is a puppet module for deploying multi-tenant mediawiki
Stars: ✭ 17 (+142.86%)
Mutual labels:  puppet
Puppet
My collection of puppet modules - mostly licensed under GPLv3
Stars: ✭ 18 (+157.14%)
Mutual labels:  puppet
Puppet
Puppet config for OCF servers and lab machines
Stars: ✭ 24 (+242.86%)
Mutual labels:  puppet
Puppet Checkmk
check_mk module for puppet
Stars: ✭ 16 (+128.57%)
Mutual labels:  puppet
Puppet Manila
OpenStack Manila Puppet Module. Mirror of code maintained at opendev.org.
Stars: ✭ 26 (+271.43%)
Mutual labels:  puppet
Vagrant Gaudi
[NOT MAINTAINED] Gaudi on vagrant VM
Stars: ✭ 16 (+128.57%)
Mutual labels:  puppet
Puppet Monasca
OpenStack Monasca Puppet Module. Mirror of code maintained at opendev.org.
Stars: ✭ 22 (+214.29%)
Mutual labels:  puppet
Logging Hooks Presentation
material for presentation about logging hooks in PostgreSQL
Stars: ✭ 7 (+0%)
Mutual labels:  puppet
Symfony2 Puppet
A simple layout of your Vagrant / puppet manifests that you can drop into your root directory of your symfony2 project
Stars: ✭ 26 (+271.43%)
Mutual labels:  puppet
Vagrant Hadoop
Vagrant configuration to bootstrap a Hadoop cluster
Stars: ✭ 24 (+242.86%)
Mutual labels:  puppet

Puppet yum module

Please note this module is deprecated, future maintenance took over the Puppet Community. Please use new https://forge.puppet.com/puppet/yum

This module provides helpful definitions for dealing with yum.

Requirements

Module has been tested on:

  • Puppet 3.7.x
  • CentOS 6, 7

Usage

yum

Manage main Yum configuration.

class { 'yum':
  keepcache         => false|true,
  debuglevel        => number,
  exactarch         => false|true,
  obsoletes         => false|true,
  gpgcheck          => false|true,
  installonly_limit => number,
  keep_kernel_devel => false|true,
}

If installonly_limit is changed, purging of old kernel packages is triggered.

yum::config

Manage yum.conf.

yum::config { 'installonly_limit':
  ensure => 2,
}

yum::config { 'debuglevel':
  ensure => absent,
}

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,
}

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

Correct name for installed package can be easily get by running e.g.:

$ rpm -q bash --qf '%|EPOCH?{%{EPOCH}}:{0}|:%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n'
0:bash-4.2.45-5.el7_0.4.x86_64

yum::group

Install or remove yum package group:

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

yum::install

Install or remove packages via yum install subcommand:

From URL:

yum::install { 'package-name':
  ensure => present,
  source => 'http://path/to/package/filename.rpm',
}

From local filesystem:

yum::install { 'package-name':
  ensure => present,
  source => '/path/to/package/filename.rpm',
}

Please note that resource name must be same as installed package name.

Contributors


CERIT Scientific Cloud, [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].