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

The yum-repoforge cookbook has been deprecated

Author provided reason for deprecation:

The yum-repoforge cookbook has been deprecated and is no longer being maintained by its authors. Use of the yum-repoforge cookbook is no longer recommended.

RSS

yum-repoforge (19) Versions 0.4.0

Installs and onfigures yum-repoforge aka RPMforge

Policyfile
Berkshelf
Knife
cookbook 'yum-repoforge', '= 0.4.0', :supermarket
cookbook 'yum-repoforge', '= 0.4.0'
knife supermarket install yum-repoforge
knife supermarket download yum-repoforge
README
Dependencies
Changelog
Quality -%

yum-repoforge Cookbook

The yum-repoforge cookbook takes over management of the default
repositoryids used by repoforge. It allows attribute manipulation of
rpmforge, rpmforge-extras, and rpmforge-testing

Requirements

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

Attributes

The following attributes are set by default

default['yum']['rpmforge']['repositoryid'] = 'rpmforge'
default['yum']['rpmforge']['description'] = 'RHEL $releasever - RPMforge.net - dag'
default['yum']['rpmforge']['mirrorlist'] = 'http://mirrorlist.repoforge.org/el6/mirrors-rpmforge'
default['yum']['rpmforge']['enabled'] = true
default['yum']['rpmforge']['managed'] = true
default['yum']['rpmforge']['gpgcheck'] = true
default['yum']['rpmforge']['gpgkey'] = 'http://apt.sw.be/RPM-GPG-KEY.dag.txt'
default['yum']['rpmforge-extras']['repositoryid'] = 'rpmforge'
default['yum']['rpmforge-extras']['description'] = 'RHEL $releasever - RPMforge.net - extras'
default['yum']['rpmforge-extras']['mirrorlist'] = 'http://mirrorlist.repoforge.org/el6/mirrors-rpmforge-extras'
default['yum']['rpmforge-extras']['enabled'] = true
default['yum']['rpmforge-extras']['managed'] = true
default['yum']['rpmforge-extras']['gpgcheck'] = true
default['yum']['rpmforge-extras']['gpgkey'] = 'http://apt.sw.be/RPM-GPG-KEY.dag.txt'
default['yum']['rpmforge-testing']['repositoryid'] = 'rpmforge-testing'
default['yum']['rpmforge-testing']['description'] = 'RHEL $releasever - RPMforge.net - testing'
default['yum']['rpmforge-testing']['mirrorlist'] = 'http://mirrorlist.repoforge.org/el6/mirrors-rpmforge-testing'
default['yum']['rpmforge-testing']['enabled'] = true
default['yum']['rpmforge-testing']['managed'] = true
default['yum']['rpmforge-testing']['gpgcheck'] = true
default['yum']['rpmforge-testing']['gpgkey'] = 'http://apt.sw.be/RPM-GPG-KEY.dag.txt'

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 'rpmforge' do
    mirrorlist 'http://mirrorlist.repoforge.org/el6/mirrors-rpmforge'
    description 'RHEL $releasever - RPMforge.net - dag'
    enabled true
    gpgcheck true
    gpgkey 'http://apt.sw.be/RPM-GPG-KEY.dag.txt'
  end

Usage Example

To disable the CentOS Extras repository through a Role or Environment definition

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

To enable the rpmforge repository with a wrapper cookbook, place
the following in a recipe:

node.default['yum']['rpmforge']['enabled'] = true
node.default['yum']['rpmforge']['managed'] = true

include_recipe 'yum-repoforge'

More Examples

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

node.default['yum']['rpmforge']['enabled'] = true
node.default['yum']['rpmforge']['mirrorlist'] = nil
node.default['yum']['rpmforge']['baseurl'] = 'https://internal.example.com/centos/6/os/x86_64'
node.default['yum']['rpmforge']['sslverify'] = false
include_recipe 'yum-repoforge'

License & Authors

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

    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.

yum-repoforge Cookbook CHANGELOG

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

v0.4.0 (2014-09-02)

  • Add all attribute available to LWRP to allow for tuning

v0.3.0 (2014-06-11)

1 - Support for Amazon Linux 2014.03

v0.2.0 (2014-02-14)

  • Updating test harness

v0.1.4

Adding CHANGELOG.md

v0.1.0

initial release

No quality metric results found