voxpupuli / puppet-yum

Puppet module for Yum
https://forge.puppet.com/puppet/yum
MIT License
16 stars 101 forks source link

add ability to configure yum plugins #130

Open vchepkov opened 5 years ago

vchepkov commented 5 years ago

Currently module doesn't provide an option to configure yum plugins, for example

# cat /etc/yum/pluginconf.d/rhnplugin.conf 
[main]
enabled = 1
keepcache = 0 

or

# cat /etc/yum/pluginconf.d/priorities.conf
[main]
enabled = 1
check_obsoletes = 1
bastelfreak commented 5 years ago

Hi @vchepkov, thanks for raising this issue. Are you able to provide a patch for it?

vchepkov commented 5 years ago

I can, but my 'test' writing skills are non-existing. Do you think it's better to expand yum::config with additional parameters or add another 'define' ? yum::define::config, for example?