cookbook 'yum-fedora', '~> 4.0.0'
yum-fedora
(22) Versions
4.0.0
-
Follow2
Provides custom resources for managing Fedora Yum repositories
cookbook 'yum-fedora', '~> 4.0.0', :supermarket
knife supermarket install yum-fedora
knife supermarket download yum-fedora
yum-fedora Cookbook
The yum-fedora cookbook takes over management of the default repository ids that ship with Fedora systems.
It provides custom resources for fedora, fedora-debuginfo, fedora-source, updates,
updates-debuginfo, updates-source, updates-testing, updates-testing-debuginfo, and
updates-testing-source.
Maintainers
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.
Requirements
Platforms
- Fedora
Chef Infra
- Chef Infra 15.3+
Cookbooks
- none
Resources
- [yum_fedora_repository](documentation/yum_fedora_repository.md)
- [yum_fedora_repositories](documentation/yum_fedora_repositories.md)
Migration
This cookbook no longer ships recipes or attributes. See [migration.md](migration.md) for the
breaking change guide.
Usage
Manage the default Fedora repositories:
yum_fedora_repositories 'default'
Manage and enable an optional repository:
yum_fedora_repository 'updates-testing' do managed true enabled true end
Uncommonly used repository ids are not managed by default. This speeds up integration testing
pipelines by avoiding yum-cache builds for repositories that are rarely used. To manage and enable
every Fedora repository:
yum_fedora_repositories 'all' do manage_debuginfo true manage_source true manage_testing true enable_debuginfo true enable_source true enable_testing true end
More Examples
Point the fedora and updates repositories at an internally hosted server.
yum_fedora_repository 'fedora' do mirrorlist nil baseurl 'https://internal.example.com/fedora/$releasever/os/$basearch' sslverify false end yum_fedora_repository 'updates' do mirrorlist nil baseurl 'https://internal.example.com/fedora/$releasever/updates/$basearch' sslverify false end
Contributors
This project exists thanks to all the people who contribute.
Backers
Thank you to all our backers!
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
yum-fedora Cookbook CHANGELOG
This file is used to list changes made in each version of the yum-fedora cookbook.
4.0.0 (2026-05-05)
⚠ BREAKING CHANGES
- migrate yum-fedora to custom resources (#34)
Features
Bug Fixes
3.1.9 (2025-10-16)
Bug Fixes
3.1.2 - 2021-08-31
- Standardise files with files in sous-chefs/repo-management
3.1.1 - 2021-06-01
- Standardise files with files in sous-chefs/repo-management
3.1.0 - 2021-03-03
- Sous Chefs adoption
- Various style fixes
- Remove references to < Fedora 20
3.0.0 (2018-02-16)
- Require Chef 12.14+ and remove compat_resource dep
2.0.2 (2017-06-14)
- Switch from Rake testing to Local Delivery for testing
- Update apache2 license string to use a SPDX compliant string
2.0.1 (2016-12-22)
- Add integration testing with inspec
- Depend on the latest compat_resource cookbook
- Cookstyle fixes
2.0.0 (2016-11-26)
- Replace yum dependency with compat_resource
1.0.0 (2016-09-06)
- Testing updates
- Resolve rubocop warnings
- Add chef_version metadata
- Remove support for Chef 11
v0.3.4 (2015-11-30)
- Fix attributes with a value of false being skipped
v0.3.3 (2015-10-28)
- #4 Guard against conflicting name spaces with other platforms #4
v0.3.2 (2015-10-28)
- Fixing Chef 13 nil property deprecation warnings
v0.3.1 (2015-09-21)
- Increased the yum depencency from ~3.0 to ~3.2
- Added Chef standard Rubocop file and resolved all warnings
- Updated platforms in Kitchen CI config
- Add supported platforms to the metadata
- Added Chef standard chefignore and .gitignore files
- Updated and expanded development dependencies in the Gemfile
- Added contributing, testing, and maintainers docs
- Added platform requirements to the readme
- Added Travis and cookbook version badges to the readme
- Update Chefspec to 4.X format
- Added long_description to metadata
- Added source_url and issues_url to metadata
v0.3.0 (2014-09-02)
- 2 - Add all attribute available to LWRP to allow for tuning
v0.2.2 (2014-03-12)
- Correctly set gpgkey for Fedoras >= 20
v0.2.0 (2014-02-14)
- updating test harness
- disabling uncommonly used repositoryid by default
v0.1.4
- Adding CHANGELOG.md
v0.1.0
- initial release
Collaborator Number Metric
4.0.0 passed this metric
Contributing File Metric
4.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
4.0.0 passed this metric
No Binaries Metric
4.0.0 passed this metric
Testing File Metric
4.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
4.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
4.0.0 passed this metric
4.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
4.0.0 passed this metric
No Binaries Metric
4.0.0 passed this metric
Testing File Metric
4.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
4.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
4.0.0 passed this metric
4.0.0 passed this metric
Testing File Metric
4.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
4.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
4.0.0 failed this metric
4.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number