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


yum-webtatic (8) Versions 0.6.0

Installs/Configures yum-webtatic

cookbook 'yum-webtatic', '= 0.6.0', :supermarket
cookbook 'yum-webtatic', '= 0.6.0'
knife supermarket install yum-webtatic
knife supermarket download yum-webtatic
Quality 100%

yum-webtatic Cookbook

The yum-webtatic cookbook takes over management of the default
repositoryids shipped with webtatic-release. It allows attribute
manipulation of webtatic, webtatic-debuginfo, webtatic-source,
webtatic-archive, webtatic-archive-debuginfo, webtatic-archive-source
webtatic-testing, webtatic-testing-debuginfo, and webtatic-testing-source.


  • Chef 11 or higher
  • yum cookbook version 3.0.0 or higher


The following attributes are set by default depending on EL version

default['yum-webtatic']['use_scheme'] = 'https'
default['yum']['webtatic']['repositoryid'] = depends on EL version
default['yum']['webtatic']['description'] = depends on EL version
default['yum']['webtatic']['mirrorlist'] = depends on EL version
default['yum']['webtatic']['gpgkey'] = depends on EL version
default['yum']['webtatic']['failovermethod'] = nil - depends whether yum fastest mirrors plugin is installed
default['yum']['webtatic']['gpgcheck'] = true
default['yum']['webtatic']['enabled'] = true
default['yum']['webtatic']['managed'] = true
default['yum']['webtatic-debuginfo']['repositoryid'] = depends on EL version
default['yum']['webtatic-debuginfo']['description'] = depends on EL version
default['yum']['webtatic-debuginfo']['mirrorlist'] = depends on EL version
default['yum']['webtatic-debuginfo']['gpgkey'] = depends on EL version
default['yum']['webtatic-debuginfo']['failovermethod'] = nil - depends whether yum fastest mirrors plugin is installeddefault['yum']['webtatic-debuginfo']['gpgcheck'] = true
default['yum']['webtatic-debuginfo']['enabled'] = false
default['yum']['webtatic-debuginfo']['managed'] = false
default['yum']['webtatic-source']['repositoryid'] = depends on EL version
default['yum']['webtatic-source']['description'] = depends on EL version
default['yum']['webtatic-source']['mirrorlist'] = depends on EL version
default['yum']['webtatic-source']['gpgkey'] = depends on EL version
default['yum']['webtatic-source']['failovermethod'] = nil - depends whether yum fastest mirrors plugin is installeddefault['yum']['webtatic-source']['gpgcheck'] = true
default['yum']['webtatic-source']['enabled'] = false
default['yum']['webtatic-source']['managed'] = false
default['yum']['webtatic-archive']['repositoryid'] = depends on EL version
default['yum']['webtatic-archive']['description'] = depends on EL version
default['yum']['webtatic-archive']['mirrorlist'] = depends on EL version
default['yum']['webtatic-archive']['gpgkey'] = depends on EL version
default['yum']['webtatic-archive']['failovermethod'] = nil - depends whether yum fastest mirrors plugin is installed
default['yum']['webtatic-archive']['gpgcheck'] = true
default['yum']['webtatic-archive']['enabled'] = false
default['yum']['webtatic-archive']['managed'] = false
default['yum']['webtatic-archive-debuginfo']['repositoryid'] = depends on EL version
default['yum']['webtatic-archive-debuginfo']['description'] = depends on EL version
default['yum']['webtatic-archive-debuginfo']['mirrorlist'] = depends on EL version
default['yum']['webtatic-archive-debuginfo']['gpgkey'] = depends on EL version
default['yum']['webtatic-archive-debuginfo']['failovermethod'] = nil - depends whether yum fastest mirrors plugin is installeddefault['yum']['webtatic-debuginfo']['gpgcheck'] = true
default['yum']['webtatic-archive-debuginfo']['enabled'] = false
default['yum']['webtatic-archive-debuginfo']['managed'] = false
default['yum']['webtatic-archive-source']['repositoryid'] = depends on EL version
default['yum']['webtatic-archive-source']['description'] = depends on EL version
default['yum']['webtatic-archive-source']['mirrorlist'] = depends on EL version
default['yum']['webtatic-archive-source']['gpgkey'] = depends on EL version
default['yum']['webtatic-archive-source']['failovermethod'] = nil - depends whether yum fastest mirrors plugin is installeddefault['yum']['webtatic-source']['gpgcheck'] = true
default['yum']['webtatic-archive-source']['enabled'] = false
default['yum']['webtatic-archive-source']['managed'] = false
default['yum']['webtatic-testing']['repositoryid'] = depends on EL version
default['yum']['webtatic-testing']['description'] = depends on EL version
default['yum']['webtatic-testing']['mirrorlist'] = depends on EL version
default['yum']['webtatic-testing']['gpgkey'] = depends on EL version
default['yum']['webtatic-testing']['failovermethod'] = nil - depends whether yum fastest mirrors plugin is installeddefault['yum']['webtatic-testing']['gpgcheck'] = true
default['yum']['webtatic-testing']['enabled'] = false
default['yum']['webtatic-testing']['managed'] = false
default['yum']['webtatic-testing-debuginfo']['repositoryid'] = depends on EL version
default['yum']['webtatic-testing-debuginfo']['description'] = depends on EL version
default['yum']['webtatic-testing-debuginfo']['mirrorlist'] = depends on EL version
default['yum']['webtatic-testing-debuginfo']['gpgkey'] = depends on EL version
default['yum']['webtatic-testing-debuginfo']['failovermethod'] = nil - depends whether yum fastest mirrors plugin is installed
default['yum']['webtatic-testing-debuginfo']['gpgcheck'] = true
default['yum']['webtatic-testing-debuginfo']['enabled'] = false
default['yum']['webtatic-testing-debuginfo']['managed'] = false
default['yum']['webtatic-testing-source']['repositoryid'] = depends on EL version
default['yum']['webtatic-testing-source']['description'] = depends on EL version
default['yum']['webtatic-testing-source']['mirrorlist'] = depends on EL version
default['yum']['webtatic-testing-source']['gpgkey'] = depends on EL version
default['yum']['webtatic-testing-source']['failovermethod'] = nil - depends whether yum fastest mirrors plugin is installed
default['yum']['webtatic-testing-source']['gpgcheck'] = true
default['yum']['webtatic-testing-source']['enabled'] = false
default['yum']['webtatic-testing-source']['managed'] = false


  • default - Walks through node attributes and feeds a yum_resource parameters. The following is an example a resource generated by the recipe during compilation.
  yum_repository 'webtatic' do
    mirrorlist '$basearch/mirrorlist_https'
    description 'Webtatic Repository EL7 - $basearch'
    enabled true
    gpgcheck true
    gpgkey ''

Usage Example

To disable the webtatic repository through a Role or Environment definition

  :yum => {
    :webtatic => {
      :enabled => {

Uncommonly used repositoryids are not managed by default. This is
speeds up integration testing pipelines by avoiding yum-cache builds
that nobody cares about. To enable the webtatic-testing repository with a
wrapper cookbook, place the following in a recipe:

node.default['yum']['webtatic-testing']['enabled'] = true
node.default['yum']['webtatic-testing']['managed'] = true
include_recipe 'yum-webtatic'

More Examples

Point the webtatic repositories at an internally hosted server.

node.default['yum']['webtatic']['enabled'] = true
node.default['yum']['webtatic']['baseurl'] = ''
node.default['yum']['webtatic']['sslverify'] = false

include_recipe 'yum-webtatic'

License & Authors

Copyright:: 2014 Andy Thompson
based on yum-epel, Copyright:: 2011-2013 Opscode, 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

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.


  • Use http on EL5 versions


  • Use https on all EL versions
  • Disable sslverify on EL5 as it's ciphers are too out of date


  • Switch to failover = priority and use mirrorlist rewrite


  • Remove mirrorlist default if baseurl has been supplied
  • Set RHEL/CentOS/etc 7 to use https urls
  • Add test-kitchen serverspec and bats test
  • Add Chefspec spec


  • Switch from not_if to conditional resource declaration for consistency
  • Include yum-epel in EL7 only if at least one webtatic repository is managed


  • Added recipe for EL5/EL6/EL7 repositories

Foodcritic Metric

0.6.0 passed this metric