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-remi-chef (39) Versions 4.2.1

Installs and configures the Remi's yum repository

Policyfile
Berkshelf
Knife
cookbook 'yum-remi-chef', '= 4.2.1', :supermarket
cookbook 'yum-remi-chef', '= 4.2.1'
knife supermarket install yum-remi-chef
knife supermarket download yum-remi-chef
README
Dependencies
Changelog
Quality 100%

yum-remi-chef Cookbook

Cookbook Version
CI State
OpenCollective
OpenCollective
License

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

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

Chef

  • Chef 12.14+

Cookbooks

  • yum-epel

Platforms

The following platforms have been tested with Test Kitchen:

|-----------+------+------------+------------+------------+------------+------------+------------+------------|
|           | remi | remi-safe  | remi-php55 | remi-php56 | remi-php70 | remi-php71 | remi-php72 | remi-php73 |
|-----------+------+------------+------------+------------+------------+------------+------------+------------|
| centos-6  | X    | X          | X          | X          | X          | X          | X          | X          |
|-----------+------+------------+------------+------------+------------+------------+------------+------------|
| centos-7  | X    | X          | X          | X          | X          | X          | X          | X          |
|-----------+------+------------+------------+------------+------------+------------+------------+------------|
| fedora    | X    | NO SUPPORT | NO SUPPORT | NO SUPPORT | NO SUPPORT | NO SUPPORT | X          | 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, remi-php71 and remi-php72 is not working currently.

Remirepo does not support php < 7.2 on Fedora.

Attributes

The following attributes are set by default

default['yum']['remi']['repositoryid'] = 'remi'
default['yum']['remi']['mirrorlist'] = 'http://cdn.remirepo.net/enterprise/5/remi/mirror'
default['yum']['remi']['description'] = "Remi's RPM repository for Enterprise Linux 5 - $basearch"
default['yum']['remi']['enabled'] = true
default['yum']['remi']['gpgcheck'] = true
default['yum']['remi']['gpgkey'] = 'http://cdn.remirepo.net/RPM-GPG-KEY-remi'
default['yum']['remi-safe']['repositoryid'] = 'remi-safe'
default['yum']['remi-safe']['mirrorlist'] = 'http://cdn.remirepo.net/enterprise/5/safe/mirror'
default['yum']['remi-safe']['description'] = "Safe Remi's RPM repository for Enterprise Linux 5 - $basearch"
default['yum']['remi-safe']['enabled'] = true
default['yum']['remi-safe']['gpgcheck'] = true
default['yum']['remi-safe']['gpgkey'] = 'http://cdn.remirepo.net/RPM-GPG-KEY-remi'
default['yum']['remi-php55']['repositoryid'] = 'remi-php55'
default['yum']['remi-php55']['mirrorlist'] = 'http://cdn.remirepo.net/enterprise/5/php55/mirror'
default['yum']['remi-php55']['description'] = "Remi's PHP 5.5 RPM repository for Enterprise Linux 5 - $basearch"
default['yum']['remi-php55']['enabled'] = true
default['yum']['remi-php55']['gpgcheck'] = true
default['yum']['remi-php55']['gpgkey'] = 'http://cdn.remirepo.net/RPM-GPG-KEY-remi'
default['yum']['remi-php56']['repositoryid'] = 'remi-php56'
default['yum']['remi-php56']['mirrorlist'] = 'http://cdn.remirepo.net/enterprise/5/php56/mirror'
default['yum']['remi-php56']['description'] = "Remi's PHP 5.6 RPM repository for Enterprise Linux 5 - $basearch"
default['yum']['remi-php56']['enabled'] = true
default['yum']['remi-php56']['gpgcheck'] = true
default['yum']['remi-php56']['gpgkey'] = 'http://cdn.remirepo.net/RPM-GPG-KEY-remi'
default['yum']['remi-php70']['managed'] = true
default['yum']['remi-php70']['repositoryid'] = 'remi-php70'
default['yum']['remi-php70']['mirrorlist'] = 'http://cdn.remirepo.net/enterprise/6/php70/mirror'
default['yum']['remi-php70']['description'] = "Remi's PHP 7.0 RPM repository for Enterprise Linux 6 - $basearch"
default['yum']['remi-php70']['enabled'] = true
default['yum']['remi-php70']['gpgcheck'] = true
default['yum']['remi-php70']['gpgkey'] = 'http://cdn.remirepo.net/RPM-GPG-KEY-remi'
default['yum']['remi-php71']['managed'] = true
default['yum']['remi-php71']['repositoryid'] = 'remi-php71'
default['yum']['remi-php71']['mirrorlist'] = 'http://cdn.remirepo.net/enterprise/6/php71/mirror'
default['yum']['remi-php71']['description'] = "Remi's PHP 7.1 RPM repository for Enterprise Linux 6 - $basearch"
default['yum']['remi-php71']['enabled'] = true
default['yum']['remi-php71']['gpgcheck'] = true
default['yum']['remi-php71']['gpgkey'] = 'http://cdn.remirepo.net/RPM-GPG-KEY-remi'
default['yum']['remi-php72']['managed'] = true
default['yum']['remi-php72']['repositoryid'] = 'remi-php72'
default['yum']['remi-php72']['mirrorlist'] = 'http://cdn.remirepo.net/enterprise/6/php72/mirror'
default['yum']['remi-php72']['description'] = "Remi's PHP 7.2 RPM repository for Enterprise Linux 6 - $basearch"
default['yum']['remi-php72']['enabled'] = true
default['yum']['remi-php72']['gpgcheck'] = true
default['yum']['remi-php72']['gpgkey'] = 'http://cdn.remirepo.net/RPM-GPG-KEY-remi'
default['yum']['remi-php73']['managed'] = true
default['yum']['remi-php73']['repositoryid'] = 'remi-php73'
default['yum']['remi-php73']['mirrorlist'] = 'http://cdn.remirepo.net/enterprise/6/php73/mirror'
default['yum']['remi-php73']['description'] = "Remi's PHP 7.2 RPM repository for Enterprise Linux 6 - $basearch"
default['yum']['remi-php73']['enabled'] = true
default['yum']['remi-php73']['gpgcheck'] = true
default['yum']['remi-php73']['gpgkey'] = 'http://cdn.remirepo.net/RPM-GPG-KEY-remi'
default['yum']['remi-php74']['managed'] = true
default['yum']['remi-php74']['repositoryid'] = 'remi-php74'
default['yum']['remi-php74']['mirrorlist'] = 'http://cdn.remirepo.net/enterprise/7/php74/mirror'
default['yum']['remi-php74']['description'] = "Remi's PHP 7.4 RPM repository for Enterprise Linux 7 - $basearch"
default['yum']['remi-php74']['enabled'] = true
default['yum']['remi-php74']['gpgcheck'] = true
default['yum']['remi-php74']['gpgkey'] = 'http://cdn.remirepo.net/RPM-GPG-KEY-remi'
default['yum']['remi-php80']['managed'] = true
default['yum']['remi-php80']['repositoryid'] = 'remi-php80'
default['yum']['remi-php80']['mirrorlist'] = 'http://cdn.remirepo.net/enterprise/7/php80/mirror'
default['yum']['remi-php80']['description'] = "Remi's PHP 8.0 RPM repository for Enterprise Linux 7 - $basearch"
default['yum']['remi-php80']['enabled'] = true
default['yum']['remi-php80']['gpgcheck'] = true
default['yum']['remi-php80']['gpgkey'] = 'http://cdn.remirepo.net/RPM-GPG-KEY-remi'

Recipes

  • default - Walks through node attributes and feeds a yum_resource itsparameters. The following is an example of a resource generated by the recipe during compilation.
  yum_repository 'remi' do
    mirrorlist 'http://cdn.remirepo.net/enterprise/6/remi/mirror'
    description "Remi's RPM repository for Enterprise Linux 6 - $basearch"
    enabled true
    gpgcheck true
    gpgkey 'http://cdn.remirepo.net/RPM-GPG-KEY-remi'
  end

Usage Example

To disable the remi repository through a Role or Environment definition

default_attributes(
  :yum => {
    :remi => {
      :enabled => {
        false
       }
     }
   }
 )

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'] = 'https://internal.example.com/enterprise/5/remi/$basearch/'
node.default['yum']['remi']['sslverify'] = false

include_recipe 'yum-remi'

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

yum-remi-chef CHANGELOG

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

4.2.1 - 2021-06-01

4.2.0 - 2021-04-05

  • Refactor ChefSpec units to be less repetitious
  • Add PHP 8.0 support

4.1.1 - 2021-03-26

  • Convert inspec tests to inspec profiles

4.1.0 - 2021-03-18

  • Sous Chefs Adoption
  • Various Cookstyle fixes
  • Add InSpec tests
  • Add php 7.4 support

4.0.0 (2020-01-18)

  • Update mirrorlist from rpms.remirepo.net to cdn.remirepo.net (Closes #18) - @sekrett
  • added support for php 7.3 and removed tests for versions deprecated by remi - @kevenwyld
  • Require Chef 12.15+ - @tas50
  • Remove RHEL 5 support - @tas50

3.0.0 (2018-02-16)

  • Fix 7.2 column in platform table in the README.
  • Require Chef 12.14+ and remove compat_resource dependency

2.3.0 (2018-01-17)

  • Use node.override in specs not node.normal
  • Added repository for PHP 7.2

2.2.2 (2016-12-22)

  • Fedora has 7.X release
  • Ease reading and revert test change
  • Depend on the latest compat_resource cookbook

2.2.1 (2016-11-26)

  • Use the native inspec formatter now
  • Use a slightly better compat_resource

2.2.0 (2016-10-31)

  • Adding php 7.1 repository.

2.1.0 (2016-10-23)

  • Added the remi-safe repository.
  • Replace yum dependency with compat_resource

2.0.0 (2016-09-06)

  • Remove Chef 11 support

v1.2.1 (2016-09-04)

  • Updated Amazon Linux support
  • Cleaned up attributes file

v1.2.0 (2016-04-30)

  • Added Amazon Linux support to the PHP7 repo
  • Added Amazon Linux 2016 support to all other repos
  • Converted testing to Inspec to properly test on Fedora
  • Added testing in Travis CI with Kitchen-Dokken

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

v0.1.0

initial release

Collaborator Number Metric
            

4.2.1 passed this metric

Contributing File Metric
            

4.2.1 passed this metric

Foodcritic Metric
            

4.2.1 passed this metric

No Binaries Metric
            

4.2.1 passed this metric

Testing File Metric
            

4.2.1 passed this metric

Version Tag Metric
            

4.2.1 passed this metric