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-oracle (4) Versions 1.0.3

Configures yum repos on an Oracle Linux system

Policyfile
Berkshelf
Knife
cookbook 'yum-oracle', '~> 1.0.3', :supermarket
cookbook 'yum-oracle', '~> 1.0.3'
knife supermarket install yum-oracle
knife supermarket download yum-oracle
README
Dependencies
Changelog
Quality 50%

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 >= 0.0.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.3 (2016-03-01)

  • added in support for make_cache attribute

v1.0.2 (2016-02-04)

  • support Oracle Enterprise Linux 7

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

Collaborator Number Metric
            

1.0.3 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

1.0.3 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

Foodcritic Metric
            

1.0.3 passed this metric

No Binaries Metric
            

1.0.3 passed this metric

Testing File Metric
            

1.0.3 passed this metric

Version Tag Metric
            

1.0.3 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