cookbook 'yum-erlang_solutions', '= 2.0.0'
yum-erlang_solutions
(22) Versions
2.0.0
-
Follow7
Installs/Configures yum-erlang_solutions
cookbook 'yum-erlang_solutions', '= 2.0.0', :supermarket
knife supermarket install yum-erlang_solutions
knife supermarket download yum-erlang_solutions
yum-erlang_solutions Cookbook
The yum-erlang_solutions cookbook takes over management of the default repositoryids used by erlang_solutions. It allows attribute manipulation of erlang_solutions
.
Requirements
Platforms
- RHEL/CentOS and derivatives
- Fedora
Chef
- Chef 12.14+
Cookbooks
- none
Attributes
The following attributes are set by default
default['yum']['erlang_solutions']['baseurl'] = "http://packages.erlang-solutions.com/rpm/centos/#{platform_version.to_i}/$basearch" default['yum']['erlang_solutions']['description'] = "Centos #{platform_version.to_i} - $basearch - Erlang Solutions" default['yum']['erlang_solutions']['gpgkey'] = 'http://packages.erlang-solutions.com/debian/erlang_solutions.asc' default['yum']['erlang_solutions']['enabled'] = 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 'erlang_solutions' do baseurl 'http://packages.erlang-solutions.com/rpm/centos/#{platform_version.to_i}/$basearch' description 'Centos #{platform_version.to_i} - $basearch - Erlang Solutions' enabled true gpgcheck true gpgkey 'http://packages.erlang-solutions.com/debian/erlang_solutions.asc' end
Usage Example
To disable the erlang_solutions repository through a Role or Environment definition
default_attributes( :yum => { :erlang_solutions => { :enabled => { false } } } )
To enable the erlang_solutions repository with a wrapper cookbook, place the following in a recipe:
node.default['yum']['erlang_solutions']['enabled'] = true include_recipe 'yum-erlang_solutions'
More Examples
Point the erlang_solutions repositories at an internally hosted server.
node.default['yum']['erlang_solutions']['enabled'] = true node.default['yum']['erlang_solutions']['baseurl'] = 'https://internal.example.com/erlang_solutions' node.default['yum']['erlang_solutions']['sslverify'] = false include_recipe 'yum-erlang_solutions'
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.
yum-erlang_solutions Cookbook CHANGELOG
This file is used to list changes made in each version of the yum-erlang_solutions cookbook.
2.0.0 (2018-02-16)
- Require Chef 12.14+ and remove compat_resource dep
- Testing improvements
- Use a SPDX compliant license string
1.0.3 (2016-12-22)
- Depend on the latest compat_resource cookbook
- Cookstyle fixes
1.0.2 (2016-12-05)
- Documentation fixes
- Avoid deprecation warnings
1.0.1 (2016-11-14)
- Resolve releasever issues
1.0.0 (2016-09-06)
- Testing updates
- Resolve foodcritic warnings
- Add chef_version metadata
- Remove support for Chef 11
v0.3.1 (2015-12-01)
- Removed an attribute case statement that caused the cookbook to fail on RHEL 7.X releases
v0.3.0 (2015-12-01)
- Added dependency on yum-epel
- Added integration testing in Travis with kitchen-dokken
v0.2.4 (2015-11-23)
- Fix setting bool false property values
v0.2.3 (2015-10-28)
- Fixing Chef 13 nil property deprecation warnings
v0.2.2 (2014-09-22)
- Add default['yum']['erlang_solutions']['managed'] attribute to control if the repository is managed. Defaults to true.
- Updated Test Kitchen config to 3.X format
- Add source_url and issues_url metadata
- Add supported platforms to metadata
- Update yum cookbook requirement from ~3.0 to ~3.2
- Update Chefspec format to 4.X
- Add contributing, testing, and maintainers docs
- Update cookbook name references in several places that were from the incorrect cookbook
- Update and add development dependencies in the Gemfile
- Add cookbook version and Travis CI badges to the readme
- Update requirements section in the Readme
- Add additional platforms to the Kitchen CI config
- Add Chef standard .rubocop config
- Add Chef standard chefignore and gitgnore files
v0.2.0 (2014-02-14)
- Updated test harness
v0.1.4
- Added CHANGELOG
v0.1.0
- Initial release
Collaborator Number Metric
2.0.0 passed this metric
Contributing File Metric
2.0.0 passed this metric
Foodcritic Metric
2.0.0 passed this metric
No Binaries Metric
2.0.0 passed this metric
Testing File Metric
2.0.0 passed this metric
Version Tag Metric
2.0.0 passed this metric
2.0.0 passed this metric
2.0.0 passed this metric
Foodcritic Metric
2.0.0 passed this metric
No Binaries Metric
2.0.0 passed this metric
Testing File Metric
2.0.0 passed this metric
Version Tag Metric
2.0.0 passed this metric
2.0.0 passed this metric
2.0.0 passed this metric
Testing File Metric
2.0.0 passed this metric
Version Tag Metric
2.0.0 passed this metric
2.0.0 passed this metric
2.0.0 passed this metric