The Yum cookbook exposes the yum_globalconfig resource which allows a user to control global yum behavior. This resources aims to allow the user to configure all options listed in the yum.conf man page, found at http://man7.org/linux/man-pages/man5/yum.conf.5.html
This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit sous-chefs.org or come chat with us on the Chef Community Slack in #sous-chefs.
- AlmaLinux
- Amazon Linux 2023
- CentOS Stream
- Fedora
- Oracle Linux
- Red Hat Enterprise Linux
- Rocky Linux
- Chef 15.3+
- none
This cookbook has completed a full custom resource migration. Recipes and node attributes were removed in favor of resource properties. See migration.md for the breaking-change migration path.
Recipes from older versions of this cookbook have been moved individual cookbooks. Recipes for managing platform yum configurations and installing specific repositories can be found in one (or more!) of the following cookbook.
- yum-centos
- yum-fedora
- yum-amazon
- yum-epel
- yum-elrepo
- yum-repoforge
- yum-ius
- yum-percona
- yum-pgdg
Put depends 'yum' in your metadata.rb to gain access to the resources.
yum_globalconfig '/etc/yum.conf' do
action :create
endThis project exists thanks to all the people who contribute.
Thank you to all our backers!
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.