The yum-erlang_solutions cookbook takes over management of the default repositoryids used by erlang_solutions. It allows attribute manipulation of erlang_solutions
.
This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit sous-chefs.org or come chat with us on the Chef Community Slack in #sous-chefs.
- RHEL/CentOS and derivatives
- Amazon Linux
- Chef 12.14+
- none
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
- 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
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'
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'
This project exists thanks to all the people who contribute.
Thank you to all our backers!
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.