Puppet Class: yum::plugin::versionlock

Defined in:
manifests/plugin/versionlock.pp

Overview

Class yum::plugin::versionlock

Parameters:

  • ensure (Any) (defaults to: present)
  • path (Any) (defaults to: '/etc/yum/pluginconf.d/versionlock.list')


4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'manifests/plugin/versionlock.pp', line 4

class yum::plugin::versionlock (
  $ensure = present,
  $path   = '/etc/yum/pluginconf.d/versionlock.list',
) {

  package { 'yum-plugin-versionlock':
    ensure => $ensure
  }

  file { 'yum.versionlock.list':
    ensure => $ensure,
    path   => $path,
    owner  => 'root',
    group  => 'root',
    mode   => '0644',
  }
}