Commit 5cea8d5
committed
Added dnf_group package module for managing DNF package groups
This module enables CFEngine to manage DNF/YUM package groups (e.g.,
"Development Tools", "System Tools") on RHEL/Rocky/AlmaLinux systems.
Key features:
- Install, upgrade, and remove package groups
- List installed groups and check for updates
- Configure group installation types (mandatory/default/optional packages)
- Supports DNF setopt-style configuration options
Example usage:
packages:
"system-tools"
policy => "present",
package_module => dnf_group;
"development"
policy => "present",
package_module => dnf_group,
options => { "group_package_types=optional", "install_weak_deps=false" }
version => "latest"; # Upgrade group packages
Ticket: CFE-28521 parent 91f72a3 commit 5cea8d5
2 files changed
Lines changed: 520 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
103 | 122 | | |
104 | 123 | | |
105 | 124 | | |
| |||
0 commit comments