Skip to content

sous-chefs/yum-fedora

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

195 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

yum-fedora Cookbook

Cookbook Version CI State OpenCollective OpenCollective License

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

Migration

This cookbook no longer ships recipes or attributes. See 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!

https://opencollective.com/sous-chefs#backers

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website.

https://opencollective.com/sous-chefs/sponsor/0/website https://opencollective.com/sous-chefs/sponsor/1/website https://opencollective.com/sous-chefs/sponsor/2/website https://opencollective.com/sous-chefs/sponsor/3/website https://opencollective.com/sous-chefs/sponsor/4/website https://opencollective.com/sous-chefs/sponsor/5/website https://opencollective.com/sous-chefs/sponsor/6/website https://opencollective.com/sous-chefs/sponsor/7/website https://opencollective.com/sous-chefs/sponsor/8/website https://opencollective.com/sous-chefs/sponsor/9/website

Sponsor this project

Packages

 
 
 

Contributors