Skip to content
Snippets Groups Projects
Commit 11df91df authored by Jonathan Lent's avatar Jonathan Lent
Browse files

small edits to yumtools::plugin

parent 95de4bda
No related branches found
No related tags found
No related merge requests found
UNRELEASED (2015-03-??)
[yumtools] minor fix for RHEL5 and yum plugins (jlent)
UNRELEASED (2015-03-??)
[cron] Add parameter to base::cron to allow anacron package to be
......
......@@ -21,7 +21,7 @@ define base::yumtools::plugin (
$pkg_name = ''
) {
$pkg_prefix = $libmajdistrelease ? {
$pkg_prefix = $lsbmajdistrelease ? {
'5' => 'yum',
default => 'yum-plugin',
}
......@@ -34,12 +34,4 @@ define base::yumtools::plugin (
ensure => $ensure,
}
if ! defined(Augeas['yum.conf_plugins_enable']) {
augeas { 'yum.conf_plugins_enable':
lens => 'Yum.lns',
incl => '/etc/yum.conf',
context => '/files/etc/yum.conf',
changes => 'set main/plugins 1',
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment