cookbook 'yumgroup', '~> 0.7.0'
yumgroup (7) Versions 0.7.0 Follow2
Installs/Configures yum packages via yum groups
cookbook 'yumgroup', '~> 0.7.0', :supermarket
knife supermarket install yumgroup
knife supermarket download yumgroup
yumgroup
Cookbook
This cookbook provides a resource to install RHEL package groups, since the default Yum and DNF package
providers cannot (CHEF-1392).
Requirements
- Chef 15.3+
Supported Platforms
- RHEL & family (e.g. CentOS, Rocky)
- Fedora
Usage
yumgroup 'web-server'
Resource properties
Property | Type | Default | Description |
---|---|---|---|
group |
String | resource name | Name of the group to install. Either the name (Basic Web Server ) or the id (web-server ) |
options |
String | Any options to pass to Yum / DNF when installing | |
flush_cache |
Array: [:before, :after]
|
[] |
Update the metadata cache before or after the package action |
cache_error_fatal |
true / false
|
false |
Make updates of the metadata cache fatal |
Contributing
- 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
License and Authors
Authors: Mike Morris
License: 3-clause BSD
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.7.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Foodcritic Metric
0.7.0 failed this metric
FC064: Ensure issues_url is set in metadata: yumgroup/metadata.rb:1
FC065: Ensure source_url is set in metadata: yumgroup/metadata.rb:1
FC066: Ensure chef_version is set in metadata: yumgroup/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.7.0 passed this metric
0.7.0 failed this metric
0.7.0 failed this metric
FC064: Ensure issues_url is set in metadata: yumgroup/metadata.rb:1
FC065: Ensure source_url is set in metadata: yumgroup/metadata.rb:1
FC066: Ensure chef_version is set in metadata: yumgroup/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.7.0 passed this metric
0.7.0 passed this metric