author | ymh <ymh.work@gmail.com> |
Fri, 15 Jan 2016 15:35:00 +0100 | |
changeset 28 | b0b56e0f8c7f |
permissions | -rw-r--r-- |
28 | 1 |
# Class: yum::plugin::versionlock |
2 |
# |
|
3 |
# This class installs versionlock plugin |
|
4 |
# |
|
5 |
# Parameters: |
|
6 |
# [*ensure*] - specifies if versionlock should be present or absent |
|
7 |
# |
|
8 |
# Actions: |
|
9 |
# |
|
10 |
# Requires: |
|
11 |
# |
|
12 |
# Sample usage: |
|
13 |
# include yum::plugin::versionlock |
|
14 |
# |
|
15 |
class yum::plugin::versionlock ( |
|
16 |
$ensure = present |
|
17 |
) { |
|
18 |
yum::plugin { 'versionlock': |
|
19 |
ensure => $ensure, |
|
20 |
} |
|
21 |
} |