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

yumgroup (7) Versions 0.4.0

Installs/Configures yum packages via yum groups

Policyfile
Berkshelf
Knife
cookbook 'yumgroup', '= 0.4.0', :supermarket
cookbook 'yumgroup', '= 0.4.0'
knife supermarket install yumgroup
knife supermarket download yumgroup
README
Dependencies
Changelog
Quality 100%

yumgroup Cookbook

A LWRP to install yum packages based on yum groups. This is a stop gap measure while we wait for CHEF-1392, since I have an itch to scratch right now (heck maybe this morphs into the solution for that ticket?)

Requirements

Ruby 1.9 or later

platforms

Any platform that supports installing packages via yum using yum groups.

NOTE: Fedora 18 will work with the :install and :upgrade actions, however the :remove action may be flaky, and attempt to delete everything in the dependency tree (regardless of the value of the groupremove_leaf_only setting!)

Usage

yumgroup::default

Just include the yumgroup recipe in your cookbook to get access to the LWRP:

include_recipe 'yumgroup'

yumgroup 'Web Server' do
  action :install
end

The yumgroup lwrp provides 2 additional attributes that can be set to control its behavior:

  • flush_cache - Update the yum metadata cache before or after the yum action (similar to the yum_package resource)
  • cache_error_fatal - Make updates of the metadata cache fatal (by default they are not)

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Authors: Mike Morris

License: 3-clause BSD

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

yumgroup CHANGELOG

0.1.0

0.2.0

0.3.0

0.3.1

0.4.0

Foodcritic Metric
            

0.4.0 passed this metric