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


yum-remi-chef (17) Versions 1.1.4

Installs and configures the Remi's yum repository

cookbook 'yum-remi-chef', '= 1.1.4'
cookbook 'yum-remi-chef', '= 1.1.4', :supermarket
knife supermarket install yum-remi-chef
knife supermarket download yum-remi-chef
Quality 100%

yum-remi-chef Cookbook

Build Status Cookbook Version

The yum-remi-chef cookbook takes over management of the repository ids of the remi repository . It allows attribute manipulation of remi, remi-php55, remi-php56, remi-php70 and remi-test repositories.



  • Chef 11+


  • yum version 3.2.0 or higher
  • yum-epel


The following platforms have been tested with Test Kitchen:

|           | remi | remi-php55 | remi-php56 | remi-php70 |
| centos-5  | X    | X          | X          |            |
| centos-6  | X    | X          | X          | X          |
| centos-7  | X    | X          | X          | X          |
| redhat-7  | X    | X          | X          | X          |
| fedora-21 | X    |            | X          |            |
| fedora-22 | X    |            |            |            |

Amazon Linux is not supported by the Remi repository. Amazon maintains their own PHP packages natively, as php53, php54, php55, php56 and php70.

centos-5 with remi-php70 is not working currently.


The following attributes are set by default

default['yum']['remi']['repositoryid'] = 'remi'
default['yum']['remi']['baseurl'] = '$basearch/'
default['yum']['remi']['description'] = 'Les RPM de remi pour Enterprise Linux 5 - $basearch'
default['yum']['remi']['enabled'] = true
default['yum']['remi']['gpgcheck'] = true
default['yum']['remi']['gpgkey'] = ''
default['yum']['remi-php55']['repositoryid'] = 'remi-php55'
default['yum']['remi-php55']['baseurl'] = '$basearch/'
default['yum']['remi-php55']['description'] = 'Les RPM de remi de PHP 5.5 pour Enterprise Linux 5 - $basearch'
default['yum']['remi-php55']['enabled'] = true
default['yum']['remi-php55']['gpgcheck'] = true
default['yum']['remi-php55']['gpgkey'] = ''
default['yum']['remi-php56']['repositoryid'] = 'remi-php56'
default['yum']['remi-php56']['baseurl'] = '$basearch/'
default['yum']['remi-php56']['description'] = 'Les RPM de remi de PHP 5.6 pour Enterprise Linux 5 - $basearch'
default['yum']['remi-php56']['enabled'] = true
default['yum']['remi-php56']['gpgcheck'] = true
default['yum']['remi-php56']['gpgkey'] = ''
default['yum']['remi-php70']['baseurl'] = '$basearch/'
default['yum']['remi-php70']['description'] = 'Les RPM de remi de PHP 7.0 pour Enterprise Linux 6 - $basearch'
default['yum']['remi-php70']['repositoryid'] = 'remi-php70'
default['yum']['remi-php70']['gpgkey'] = ''
default['yum']['remi-php70']['gpgcheck'] = true
default['yum']['remi-php70']['enabled'] = true
default['yum']['remi-php70']['managed'] = true


  • 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 'remi' do
    baseurl '$basearch/'
    description 'Les RPM de remi pour Enterprise Linux 6 - $basearch'
    enabled true
    gpgcheck true
    gpgkey ''

Usage Example

To disable the remi repository through a Role or Environment definition

  :yum => {
    :remi => {
      :enabled => {

More Examples

Point the base and updates repositories at an internally hosted server.

node.default['yum']['remi']['enabled'] = true
node.default['yum']['remi']['mirrorlist'] = nil
node.default['yum']['remi']['baseurl'] = '$basearch/'
node.default['yum']['remi']['sslverify'] = false

include_recipe 'yum-remi'

License & Authors

Author: Cookbook Engineering Team (

Copyright: 2015, 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

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.

Dependent cookbooks

yum-epel >= 0.0.0
yum ~> 3.2

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

yum-remi-chef CHANGELOG

v1.1.4 (2016-03-17)

v1.0.4 (2016-02-16)

  • Add support for Amazon Linux

v1.0.3 (2015-11-30)

  • Fixed false values not being passed

v1.0.2 (2015-10-28)

  • Fixing Chef 13 nil property deprecation warnings

v1.0.1 (2015-09-21)

  • Fix repo URLs in metadata

v1.0.0 (2015-09-21)

  • Fixed the cookbook name in the metadata, readme, and tests. The cookbook repo was named yum-remi-chef, supermarket listed it as yum-remi-chef, but the metadata listed yum-remi, which is a name already used on Supermarket. The metadata has been corrected to use the same name. If you used this cookbook previously you'll need to update all references to use the new name.
  • Added Yum dependency to the metadata
  • Added Chef standard Rubocop file
  • Added Travis CI config
  • Added Chef standard chefignore and .gitignore files
  • Updated and expanded development dependencies in the Gemfile
  • Added contributing, testing, and maintainers docs
  • Added Travis and cookbook version badges to the readme
  • Added Oracle Linux and Amazon Linux to the metadata

v0.1.1 (2015-06-30)

Fixing up some tests


initial release

Foodcritic Metric

1.1.4 passed this metric