diff --git a/yum/manifests/init.pp b/yum/manifests/init.pp index c73a999..37307a0 100644 --- a/yum/manifests/init.pp +++ b/yum/manifests/init.pp @@ -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 #