Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

yum-amazon (26) Versions 5.0.0

Provides yum_amazon_repo resource for managing Amazon Linux 2023 repositories

Policyfile
Berkshelf
Knife
cookbook 'yum-amazon', '~> 5.0.0', :supermarket
cookbook 'yum-amazon', '~> 5.0.0'
knife supermarket install yum-amazon
knife supermarket download yum-amazon
README
Dependencies
Changelog
Quality 50%

yum-amazon Cookbook

Cookbook Version
CI State
OpenCollective
OpenCollective
License

The yum-amazon cookbook provides the yum_amazon_repo custom resource for managing Amazon Linux 2023 yum/dnf repository configuration.

See [migration.md](migration.md) for guidance on moving from legacy recipes and node attributes to the yum_amazon_repo resource.

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

  • Amazon Linux 2023

Chef

  • Chef >= 15.3

Cookbooks

  • none

Resources

yum_amazon_repo

See [documentation/yum_amazon_repo.md](documentation/yum_amazon_repo.md) for full property reference.

Actions

  • :create — Creates the repository (default)
  • :delete — Removes the repository

Examples

# Main repository with defaults
yum_amazon_repo 'amazonlinux'

# Debug repository (disabled)
yum_amazon_repo 'amazonlinux-debuginfo' do
  description 'Amazon Linux 2023 repository - Debug'
  mirrorlist 'https://cdn.amazonlinux.com/al2023/core/mirrors/$releasever/debuginfo/$basearch/mirror.list'
  enabled false
end

# Source repository (disabled)
yum_amazon_repo 'amazonlinux-source' do
  description 'Amazon Linux 2023 repository - Source packages'
  mirrorlist 'https://cdn.amazonlinux.com/al2023/core/mirrors/$releasever/SRPMS/mirror.list'
  enabled false
end

# Point at an internal mirror
yum_amazon_repo 'amazonlinux' do
  mirrorlist nil
  baseurl 'https://internal.example.com/amazonlinux/2023/$basearch'
  sslverify false
end

# Remove a repository
yum_amazon_repo 'amazonlinux-debuginfo' do
  action :delete
end

License & Authors

Author: Cookbook Engineering Team (cookbooks@chef.io)

Copyright: 2013-2025, Chef Software, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

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

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

redhat Applicable Versions

yum-amazon Cookbook CHANGELOG

This file is used to list changes made in each version of the yum-amazon cookbook.

5.0.0 (2026-05-05)

⚠ BREAKING CHANGES

  • Amazon Linux 2 support removed. Attribute names changed from amzn2-core* to amazonlinux*.
  • Cookbook no longer provides recipes. Use yum_amazon_repo resource directly.

Features

  • modernize for Amazon Linux 2023, drop AL2 support (#35) (73d0b9c)
  • prepare yum-amazon for release (#38) (c9008dc)

Bug Fixes

  • ci: Update workflows to use release pipeline (#32) (1e63f99)

4.0.12 (2025-10-16)

Bug Fixes

  • ci: Update workflows to use release pipeline (#32) (1e63f99)

4.0.6 - 2023-10-31

  • Use a regexp match in the tests so we don't need to fix the test every month

4.0.5 - 2023-09-29

  • Standardise files with files in the repo-management

4.0.4 - 2023-02-14

  • Standardise files with files in the repo-management

4.0.3 - 2023-02-14

  • Standardise files with files in the repo-management

4.0.2 - 2021-08-31

  • Standardise files with files in sous-chefs/repo-management

4.0.1 - 2021-06-01

  • Standardise files with files in sous-chefs/repo-management

4.0.0 - 2021-03-09

  • Sous Chefs Adoption
  • Remove Amazonlinux version 1 support
  • Add InSpec tests
  • Linting
  • Fix rspec

3.1.0 (2019-11-18)

  • Add support for Amazon Linux 2 - @bheusinkveld
  • Add code owners file - @tas50
  • Rename the kitchen config - @tas50
  • Remove stove from the gemfile - @tas50
  • Cookstyle fixes - @tas50
  • Update for Chef 15 license agreement and Chef Workstation - @tas50

3.0.0 (2018-02-16)

  • Require Chef 12.14+ and remove compat_resource dep

2.0.2 (2017-04-26)

  • Switch from Rake testing to Local Delivery
  • Update apache2 license string

2.0.1 (2016-12-22)

  • Remove extra line
  • Depend on the latest compat_resource cookbook

2.0.0 (2016-11-26)

  • Clarify that we require Chef 12.1 not 12.0
  • Require compat_resource instead of yum

1.0.0 (2016-09-06)

  • Update testing framework
  • Add chef_version metadata
  • Remove support for Chef 11

v0.2.3 (2015-12-01)

  • Fixing if/unless logic in recipe

v0.2.2 (2015-10-28)

  • Fixing Chef 13 deprecation warnings by not passing nils

v0.2.1 (2014-09-22)

  • Merge 0.2.0 changes with 0.1.6 release changes

v0.1.6 (2015-09-21) <-- This came after 0.2.0 since 0.2.0 was not in git and was later merged

  • Update yum depencency from ~3.0 to ~3.2
  • Add supports metadata for Amazon Linux
  • Add source_url and issues_url metadata
  • Add a .foodcritic file
  • Add standard Chef gitignore and chefignore files
  • Move the .kitchen.yml file to .kitchen.cloud.yml and add a standard kitchen.yml for vagrant testing
  • Add the standard chef rubocop config
  • Update Travis to test on modern Ruby versions
  • Update berskfile to 3.X format
  • Update contributing, maintainers, and testing docs
  • Add standard Gemfile with testing and development dependencies
  • Add a Guardfile
  • Add Travis CI and cookbook version badges in the readme
  • Expand the requirements section in the readme
  • Add rakefile for simpler testing

v0.2.0 (2014-02-14)

  • All repos except for the main/updates repos are now set to enabled = false and managed = false. Attributes will need to be set if you'd like to manage these repositories

v0.1.5

  • Guarding against running outside ec2

v0.1.4

Adding CHANGELOG.md

v0.1.0

initial release

Collaborator Number Metric
            

5.0.0 passed this metric

Contributing File Metric
            

5.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
            

5.0.0 passed this metric

No Binaries Metric
            

5.0.0 passed this metric

Testing File Metric
            

5.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
            

5.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

Copyright © 2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.

Progress and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries.
See Trademarksfor appropriate markings. All rights in any other trademarks contained herein are reserved by their respective owners and their inclusion does not imply an endorsement, affiliation, or sponsorship as between Progress and the respective owners.

Code of Conduct Terms and Conditions of Use Privacy Policy Cookie Policy Trademark Policy Status