cookbook 'yum-atrpms', '~> 2.0.1'
The yum-atrpms cookbook has been deprecated
Author provided reason for deprecation:
The yum-atrpms cookbook has been deprecated and is no longer being maintained by its authors. Use of the yum-atrpms cookbook is no longer recommended.
yum-atrpms (7) Versions 2.0.1 Follow2
Installs and configures the atrpms Yum repository
cookbook 'yum-atrpms', '~> 2.0.1', :supermarket
knife supermarket install yum-atrpms
knife supermarket download yum-atrpms
yum-atrpms Cookbook
The yum-atrpms cookbook takes over management of the default repositoryids shipped with atrpms-release. It allows attribute manipulation of atrpms
, atrpms-debuginfo
, atrpms-source
, atrpms-testing
, atrpms-testing-debuginfo
, atrpms-testing-source
, atrpms-bleeding
, atrpms-bleeding-debuginfo
, and atrpms-bleeding-source
Deprecation
The atrpms repos are no longer available. This cookbook has been deprecated as there is no longer a need to manage these repositiories
Requirements
Platforms
- RHEL/CentOS and derivatives
- Fedora
Chef
- Chef 12.1+
Cookbooks
- compat_resource
Attributes
The following attributes are set by default
default['yum-atrpms']['repositories'] = %w( atrpms atrpms-debuginfo atrpms-source atrpms-testing atrpms-testing-debuginfo atrpms-testing-source atrpms-bleeding atrpms-bleeding-debuginfo atrpms-bleeding-source )
default['yum']['atrpms']['repositoryid'] = 'atrpms' default['yum']['atrpms']['description'] = 'Red Hat Enterprise Linux $releasever - $basearch - ATrpms' default['yum']['atrpms']['baseurl'] = 'http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable' default['yum']['atrpms']['gpgkey'] = 'http://ATrpms.net/RPM-GPG-KEY.atrpms' default['yum']['atrpms']['failovermethod'] = 'priority' default['yum']['atrpms']['gpgcheck'] = true default['yum']['atrpms']['enabled'] = true default['yum']['atrpms']['managed'] = true
default['yum']['atrpms-debuginfo']['repositoryid'] = 'atrpms-debuginfo' default['yum']['atrpms-debuginfo']['description'] = 'Red Hat Enterprise Linux $releasever - $basearch - ATrpms - Debug' default['yum']['atrpms-debuginfo']['baseurl'] = 'http://dl.atrpms.net/debug/el$releasever-$basearch/atrpms/stable' default['yum']['atrpms-debuginfo']['gpgkey'] = 'http://ATrpms.net/RPM-GPG-KEY.atrpms' default['yum']['atrpms-debuginfo']['failovermethod'] = 'priority' default['yum']['atrpms-debuginfo']['gpgcheck'] = true default['yum']['atrpms-debuginfo']['enabled'] = true default['yum']['atrpms-debuginfo']['managed'] = true
default['yum']['atrpms-source']['repositoryid'] = 'atrpms-source' default['yum']['atrpms-source']['description'] = 'Red Hat Enterprise Linux $releasever - $basearch - ATrpms - Source' default['yum']['atrpms-source']['baseurl'] = 'http://dl.atrpms.net/src/el$releasever-$basearch/atrpms/stable' default['yum']['atrpms-source']['gpgkey'] = 'http://ATrpms.net/RPM-GPG-KEY.atrpms' default['yum']['atrpms-source']['failovermethod'] = 'priority' default['yum']['atrpms-source']['gpgcheck'] = true default['yum']['atrpms-source']['enabled'] = true default['yum']['atrpms-source']['managed'] = true
default['yum']['atrpms-testing']['repositoryid'] = 'atrpms-testing' default['yum']['atrpms-testing']['description'] = 'Red Hat Enterprise Linux $releasever - $basearch - ATrpms testing' default['yum']['atrpms-testing']['baseurl'] = 'http://dl.atrpms.net/el$releasever-$basearch/atrpms/testing' default['yum']['atrpms-testing']['gpgkey'] = 'http://ATrpms.net/RPM-GPG-KEY.atrpms' default['yum']['atrpms-testing']['failovermethod'] = 'priority' default['yum']['atrpms-testing']['gpgcheck'] = true default['yum']['atrpms-testing']['enabled'] = true default['yum']['atrpms-testing']['managed'] = true
default['yum']['atrpms-testing-debuginfo']['repositoryid'] = 'atrpms-testing-debuginfo' default['yum']['atrpms-testing-debuginfo']['description'] = 'Red Hat Enterprise Linux $releasever - $basearch - ATrpms testing - Debug' default['yum']['atrpms-testing-debuginfo']['baseurl'] = 'http://dl.atrpms.net/debug/el$releasever-$basearch/atrpms/testing' default['yum']['atrpms-testing-debuginfo']['gpgkey'] = 'http://ATrpms.net/RPM-GPG-KEY.atrpms' default['yum']['atrpms-testing-debuginfo']['failovermethod'] = 'priority' default['yum']['atrpms-testing-debuginfo']['gpgcheck'] = true default['yum']['atrpms-testing-debuginfo']['enabled'] = true default['yum']['atrpms-testing-debuginfo']['managed'] = true
default['yum']['atrpms-testing-source']['repositoryid'] = 'atrpms-testing-source' default['yum']['atrpms-testing-source']['description'] = 'Red Hat Enterprise Linux $releasever - $basearch - ATrpms testing - Source' default['yum']['atrpms-testing-source']['baseurl'] = 'http://dl.atrpms.net/src/el$releasever-$basearch/atrpms/testing' default['yum']['atrpms-testing-source']['gpgkey'] = 'http://ATrpms.net/RPM-GPG-KEY.atrpms' default['yum']['atrpms-testing-source']['failovermethod'] = 'priority' default['yum']['atrpms-testing-source']['gpgcheck'] = true default['yum']['atrpms-testing-source']['enabled'] = true default['yum']['atrpms-testing-source']['managed'] = true
default['yum']['atrpms-bleeding']['repositoryid'] = 'atrpms-bleeding' default['yum']['atrpms-bleeding']['description'] = 'Red Hat Enterprise Linux $releasever - $basearch - ATrpms bleeding' default['yum']['atrpms-bleeding']['baseurl'] = 'http://dl.atrpms.net/el$releasever-$basearch/atrpms/bleeding' default['yum']['atrpms-bleeding']['gpgkey'] = 'http://ATrpms.net/RPM-GPG-KEY.atrpms' default['yum']['atrpms-bleeding']['failovermethod'] = 'priority' default['yum']['atrpms-bleeding']['gpgcheck'] = true default['yum']['atrpms-bleeding']['enabled'] = true default['yum']['atrpms-bleeding']['managed'] = true
default['yum']['atrpms-bleeding-debuginfo']['repositoryid'] = 'atrpms-bleeding-debuginfo' default['yum']['atrpms-bleeding-debuginfo']['description'] = 'Red Hat Enterprise Linux $releasever - $basearch - ATrpms bleeding - Debug' default['yum']['atrpms-bleeding-debuginfo']['baseurl'] = 'http://dl.atrpms.net/debug/el$releasever-$basearch/atrpms/bleeding' default['yum']['atrpms-bleeding-debuginfo']['gpgkey'] = 'http://ATrpms.net/RPM-GPG-KEY.atrpms' default['yum']['atrpms-bleeding-debuginfo']['failovermethod'] = 'priority' default['yum']['atrpms-bleeding-debuginfo']['gpgcheck'] = true default['yum']['atrpms-bleeding-debuginfo']['enabled'] = true default['yum']['atrpms-bleeding-debuginfo']['managed'] = true
default['yum']['atrpms-bleeding-source']['repositoryid'] = 'atrpms-bleeding-source' default['yum']['atrpms-bleeding-source']['description'] = 'Red Hat Enterprise Linux $releasever - $basearch - ATrpms bleeding - Source' default['yum']['atrpms-bleeding-source']['baseurl'] = 'http://dl.atrpms.net/src/el$releasever-$basearch/atrpms/bleeding' default['yum']['atrpms-bleeding-source']['gpgkey'] = 'http://ATrpms.net/RPM-GPG-KEY.atrpms' default['yum']['atrpms-bleeding-source']['failovermethod'] = 'priority' default['yum']['atrpms-bleeding-source']['gpgcheck'] = true default['yum']['atrpms-bleeding-source']['enabled'] = true default['yum']['atrpms-bleeding-source']['managed'] = true
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 'atrpms' do baseurl 'http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable' description 'Red Hat Enterprise Linux $releasever - $basearch - ATrpms' enabled true gpgcheck true gpgkey 'http://ATrpms.net/RPM-GPG-KEY.atrpms' end
Usage Example
To disable the atrpms repository through a Role or Environment definition
default_attributes( :yum => { :atrpms => { :enabled => { false } } } )
Uncommonly used repositoryids are not managed by default. This is speeds up integration testing pipelines by avoiding yum-cache builds that nobody cares about. To enable the atrpms-testing repository with a wrapper cookbook, place the following in a recipe:
node.default['yum']['atrpms-testing']['enabled'] = true node.default['yum']['atrpms-testing']['managed'] = true include_recipe 'yum-atrpms'
More Examples
Point the atrpms repositories at an internally hosted server.
node.default['yum']['atrpms']['enabled'] = true node.default['yum']['atrpms']['mirrorlist'] = nil node.default['yum']['atrpms']['baseurl'] = 'https://internal.example.com/atrpms/6/stable' node.default['yum']['atrpms']['sslverify'] = false include_recipe 'yum-atrpms'
License & Authors
Author: Cookbook Engineering Team (cookbooks@chef.io)
Copyright: 2011-2016, 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
compat_resource >= 12.16.3 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
yum-atrpms Cookbook CHANGELOG
This file is used to list changes made in each version of the yum-atrpms cookbook.
2.0.1 (2016-12-22)
- Deprecate this cookbook as the atrpms repo is no more
- Depend on the latest compat_resource cookbook
2.0.0 (2016-11-25)
- Replace yum dependency with compat_resource
- Convert to inspec from bats
1.0.0 (2016-09-06)
- Testing updates
- Resolve rubocop warnings
- Add chef_version metadata
- Remove Chef 11 support
v0.1.3 (2015-12-01)
- Fixing if/unless logic in recipes
v0.1.2 (2015-10-28)
- Fixing Chef 13 warnings by not passing nils
v0.1.1 (2015-09-22)
- Add support for Amazon linux
- Update yum depencency from ~3.0 to ~3.2
- Added source_url and issues_url metadata
- Added the standard chef rubocop config
- Added standard Chef gitignore and chefignore files
- Update berksfile API endpoint
- Update distro versions in the Kitchen config
- Added Fedora 20 to the Travis config
- Add Travis CI and cookbook version badges in the readme
- Expand the requirements section in the readme
- Update contributing, maintainers, and testing docs
- Add standard Gemfile with testing and development dependencies
- Update Chefspec config to 4.X format
v0.1.0 (2014-09-22)
- Initial Release
Collaborator Number Metric
2.0.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
2.0.1 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
2.0.1 passed this metric
No Binaries Metric
2.0.1 passed this metric
Testing File Metric
2.0.1 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 TESTING.md file
Version Tag Metric
2.0.1 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
2.0.1 failed this metric
2.0.1 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
2.0.1 passed this metric
No Binaries Metric
2.0.1 passed this metric
Testing File Metric
2.0.1 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 TESTING.md file
Version Tag Metric
2.0.1 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
2.0.1 passed this metric
2.0.1 passed this metric
Testing File Metric
2.0.1 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 TESTING.md file
Version Tag Metric
2.0.1 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
2.0.1 failed this metric
2.0.1 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