Added yum::plugin::changelog
This commit is contained in:
parent
c8314ec9a1
commit
621b220de2
1 changed files with 17 additions and 0 deletions
|
@ -45,6 +45,23 @@ class yum::cron::download {
|
|||
|
||||
}
|
||||
|
||||
# Install changelog plugin
|
||||
#
|
||||
class yum::plugin::changelog {
|
||||
|
||||
package { "yum-plugin-changelog":
|
||||
ensure => installed,
|
||||
name => $operatingsystem ? {
|
||||
"centos" => $operatingsystemrelease ? {
|
||||
/^[1-5]/ => "yum-changelog",
|
||||
default => "yum-plugin-changelog",
|
||||
},
|
||||
default => "yum-plugin-changelog",
|
||||
},
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
# Install downloadonly plugin
|
||||
#
|
||||
|
|
Loading…
Add table
Reference in a new issue