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

RSS

yum-oracle (4) Versions 1.0.1

Configures yum repos on an Oracle Linux system

Berkshelf/Librarian
Policyfile
Knife
cookbook 'yum-oracle', '= 1.0.1'
cookbook 'yum-oracle', '= 1.0.1', :supermarket
knife cookbook site install yum-oracle
knife cookbook site download yum-oracle
README
Dependencies
Changelog
Quality 0%

yum-oracle Cookbook

The yum-oracle cookbook manages some of the yum repos to operate an Oracle Linux system.

Requirements

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

Attributes

The following attributes are set by default.

Recipes

  • 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 'ol6_latest' do
    baseurl 'http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/'
    description 'Oracle Linux $releasever Latest ($basearch)'
    enabled true
    gpgcheck true
    gpgkey 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle'
  end

Usage Example

To disable the Oracle 6 latest repository through a Role or Environment definition:

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

Special Note

Oracle refers to Enterprise Linux 5 as "el5" and Enterprise Linux 6 as "ol6", so be careful.

Bugs

  • ChefSpec unit tests run but not with real Fauxhai data, because Fauxhai doesn't have data for Oracle Linux (yet).
  • Not all repositories that might appear on an Oracle Linux system are managed yet by this cookbook, because most of them are turned off. Pull requests are accepted to do all the work to add them in.

License & Authors

Based on the yum-fedora cookbook by:

Copyright:: 2014 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.

Dependent cookbooks

yum ~> 3.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

yum-fedora Cookbook CHANGELOG

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

v1.0.1 (2015-10-30)

  • updated for errors to be compatible with Chef 13

v0.2.0 (2014-02-14)

  • updating test harness
  • disabling uncommonly used repositoryid by default

v0.1.4

Adding CHANGELOG.md

v0.1.0

initial release

Foodcritic Metric
            

1.0.1 failed this metric

FC023: Prefer conditional attributes: /tmp/cook/2f5fb83418d3ad8cae6b754f/yum-oracle/recipes/default.rb:33