{"name":"yum-repoforge","version":"0.5.7","description":"Installs and onfigures yum-repoforge aka RPMforge","long_description":"# yum-repoforge Cookbook\n[![Build Status](https://travis-ci.org/chef-cookbooks/yum-repoforge.svg?branch=master)](http://travis-ci.org/chef-cookbooks/yum-repoforge) [![Cookbook Version](https://img.shields.io/cookbook/v/yum-repoforge.svg)](https://supermarket.chef.io/cookbooks/yum-repoforge)\n\nThe yum-repoforge cookbook takes over management of the default repositoryids used by repoforge. It allows attribute manipulation of `rpmforge`, `rpmforge-extras`, and `rpmforge-testing`\n\n## Requirements\n### Platforms\n- RHEL/CentOS and derivatives\n- Fedora\n\n### Chef\n- Chef 11+\n\n### Cookbooks\n- yum version 3.2.0 or higher\n- yum-epel\n\n## Attributes\nThe following attributes are set by default\n\n```ruby\ndefault['yum']['rpmforge']['repositoryid'] = 'rpmforge'\ndefault['yum']['rpmforge']['description'] = 'RHEL $releasever - RPMforge.net - dag'\ndefault['yum']['rpmforge']['mirrorlist'] = 'http://mirrorlist.repoforge.org/el6/mirrors-rpmforge'\ndefault['yum']['rpmforge']['enabled'] = true\ndefault['yum']['rpmforge']['managed'] = true\ndefault['yum']['rpmforge']['gpgcheck'] = true\ndefault['yum']['rpmforge']['gpgkey'] = 'http://apt.sw.be/RPM-GPG-KEY.dag.txt'\n```\n\n```ruby\ndefault['yum']['rpmforge-extras']['repositoryid'] = 'rpmforge'\ndefault['yum']['rpmforge-extras']['description'] = 'RHEL $releasever - RPMforge.net - extras'\ndefault['yum']['rpmforge-extras']['mirrorlist'] = 'http://mirrorlist.repoforge.org/el6/mirrors-rpmforge-extras'\ndefault['yum']['rpmforge-extras']['enabled'] = true\ndefault['yum']['rpmforge-extras']['managed'] = true\ndefault['yum']['rpmforge-extras']['gpgcheck'] = true\ndefault['yum']['rpmforge-extras']['gpgkey'] = 'http://apt.sw.be/RPM-GPG-KEY.dag.txt'\n```\n\n```ruby\ndefault['yum']['rpmforge-testing']['repositoryid'] = 'rpmforge-testing'\ndefault['yum']['rpmforge-testing']['description'] = 'RHEL $releasever - RPMforge.net - testing'\ndefault['yum']['rpmforge-testing']['mirrorlist'] = 'http://mirrorlist.repoforge.org/el6/mirrors-rpmforge-testing'\ndefault['yum']['rpmforge-testing']['enabled'] = true\ndefault['yum']['rpmforge-testing']['managed'] = true\ndefault['yum']['rpmforge-testing']['gpgcheck'] = true\ndefault['yum']['rpmforge-testing']['gpgkey'] = 'http://apt.sw.be/RPM-GPG-KEY.dag.txt'\n```\n\n## Recipes\n- default - Walks through node attributes and feeds a yum_resource\n- parameters. The following is an example a resource generated by the\n- recipe during compilation.\n\n```ruby\n  yum_repository 'rpmforge' do\n    mirrorlist 'http://mirrorlist.repoforge.org/el6/mirrors-rpmforge'\n    description 'RHEL $releasever - RPMforge.net - dag'\n    enabled true\n    gpgcheck true\n    gpgkey 'http://apt.sw.be/RPM-GPG-KEY.dag.txt'\n  end\n```\n\n## Usage Example\nTo disable the CentOS Extras repository through a Role or Environment definition\n\n```\ndefault_attributes(\n  :yum => {\n    :rpmforge => {\n      :enabled => {\n        false\n       }\n     }\n   }\n )\n```\n\nTo enable the rpmforge repository with a wrapper cookbook, place the following in a recipe:\n\n```ruby\nnode.default['yum']['rpmforge']['enabled'] = true\nnode.default['yum']['rpmforge']['managed'] = true\n\ninclude_recipe 'yum-repoforge'\n```\n\n## More Examples\nPoint the base and updates repositories at an internally hosted server.\n\n```ruby\nnode.default['yum']['rpmforge']['enabled'] = true\nnode.default['yum']['rpmforge']['mirrorlist'] = nil\nnode.default['yum']['rpmforge']['baseurl'] = 'https://internal.example.com/centos/6/os/x86_64'\nnode.default['yum']['rpmforge']['sslverify'] = false\ninclude_recipe 'yum-repoforge'\n```\n\n## License & Authors\n**Author:** Cookbook Engineering Team ([cookbooks@chef.io](mailto:cookbooks@chef.io))\n\n**Copyright:** 2011-2015, Chef Software, Inc.\n\n```\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","maintainer":"Chef Software, Inc.","maintainer_email":"cookbooks@chef.io","license":"Apache 2.0","platforms":{"amazon":">= 0.0.0","centos":">= 0.0.0","fedora":">= 0.0.0","oracle":">= 0.0.0","redhat":">= 0.0.0","scientific":">= 0.0.0"},"dependencies":{"yum":"~> 3.2","yum-epel":">= 0.0.0"},"recommendations":{},"suggestions":{},"conflicting":{},"providing":{},"replacing":{},"attributes":{},"groupings":{},"recipes":{}}