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

foreman (16) Versions 1.0.0

Provides custom resources for installing and configuring Foreman and Foreman Smart Proxy

Policyfile
Berkshelf
Knife
cookbook 'foreman', '~> 1.0.0', :supermarket
cookbook 'foreman', '~> 1.0.0'
knife supermarket install foreman
knife supermarket download foreman
README
Dependencies
Changelog
Quality 50%

Foreman cookbook

Cookbook Version
CI State

This cookbook now exposes custom resources for installing and configuring Foreman and Foreman Smart Proxy. The legacy recipes/ and attributes/ APIs were removed as part of the migration.

  • Migration notes: [migration.md](migration.md)
  • Platform and package constraints: [LIMITATIONS.md](LIMITATIONS.md)

Resources

  • foreman_app Installs Foreman, renders application configuration, optionally prepares the database, and manages the foreman service.
  • foreman_proxy Installs Smart Proxy, renders settings.yml and module fragments, optionally configures DNS/DHCP/TFTP helpers, and manages the foreman-proxy service.
  • foreman_repo Configures the official Foreman APT repositories.
  • foreman_plugins Installs Foreman or Smart Proxy plugin packages.
  • foreman_rake Runs foreman-rake tasks.
  • foreman_smartproxy Registers or removes a Smart Proxy through the Foreman API.
  • foreman_proxy_settings_file Renders a module file under /etc/foreman-proxy/settings.d/.

Supported platforms

  • Debian 12
  • Ubuntu 22.04

These limits are based on the current upstream package documentation summarized in [LIMITATIONS.md](LIMITATIONS.md).

Usage

Foreman server

foreman_app 'default' do
  server_name 'foreman.example'
  database(
    adapter: 'postgresql',
    host: '127.0.0.1',
    username: 'foreman',
    password: 'super-secret'
  )
end

foreman_plugins 'server-plugins' do
  packages %w[foreman-libvirt ruby-foreman-chef]
end

Foreman Smart Proxy

foreman_proxy 'default' do
  server_name 'foreman.example'
  register false
  dns(
    enabled: true,
    managed: true,
    interface: 'eth0'
  )
  dhcp(
    enabled: true,
    managed: true,
    interface: 'eth0',
    range: '10.0.0.10 10.0.0.20'
  )
  tftp(
    enabled: true
  )
end

Testing

  • cookstyle
  • chef exec rspec --format documentation
  • yamllint .
  • markdownlint-cli2 "**/*.md"
  • KITCHEN_LOCAL_YAML=kitchen.dokken.yml chef exec kitchen test default-ubuntu-2204 --destroy=always
  • KITCHEN_LOCAL_YAML=kitchen.dokken.yml chef exec kitchen test proxy-debian-12 --destroy=always

Dependent cookbooks

apache2 >= 0.0.0
bind >= 0.0.0
database >= 0.0.0
dhcp >= 0.0.0
hostname >= 0.0.0
hostsfile >= 0.0.0
mysql >= 0.0.0
mysql2_chef_gem >= 0.0.0
postgresql >= 0.0.0
tftp >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Changelog

1.0.0 (2026-05-06)

⚠ BREAKING CHANGES

  • migrate Foreman cookbook to custom resources (#61)

Features

  • migrate Foreman cookbook to custom resources (#61) (0c32019)

Bug Fixes

  • ci: Update workflows to use release pipeline (#55) (beef973)

0.1.12 (2025-10-15)

Bug Fixes

  • ci: Update workflows to use release pipeline (#55) (beef973)

0.1.2 - 2023-03-02

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

0.1.1 - 2023-02-14

  • Remove delivery folder

0.1.0 - 2022-01-18

  • resolved cookstyle error: providers/smartproxy.rb:52:3 convention: Style/RedundantCondition

0.0.3 - 2021-08-31

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

0.0.2 - 2021-06-01

  • Adopted by Sous-Chefs

Collaborator Number Metric
            

1.0.0 passed this metric

Contributing File Metric
            

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

1.0.0 passed this metric

No Binaries Metric
            

1.0.0 passed this metric

Testing File Metric
            

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

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