Configures softwarecollections yum repository
- Scientific Linux 6.0 or later
- CentoOS Linux 6.0 or later
- Chef 12.0 or later
- default['yum-scl']['prefer_os_package'] - configure repository using package provided by OS (if available)
- default['yum-scl']['enable_testing'] = false - enable testing repositories of softwarecollections
- default['yum-scl']['enable_source'] = false - enable source repositories of softwarecollections
- default['yum-scl']['enable_debuginfo'] = false - enable debuginfo repositories of softwarecollections
The default recipe tries to install package for softwarecollection repositories provided by OS then falls to installation using yum_repository resource
{
"name":"my_node",
"run_list": [
"recipe[yum-scl]"
]
}
The recipe installs package for softwarecollection repositories provided by OS
{
"name":"my_node",
"run_list": [
"recipe[yum-scl::native_install]"
]
}
The recipe adds yum repositories using chef yum_repository resource
{
"name":"my_node",
"run_list": [
"recipe[yum-scl::chef_install]"
]
}
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Authors: Dmitry Shestoperov