Added fedora/centos

This commit is contained in:
Tube 2023-10-22 21:05:45 +02:00
parent fe25546de2
commit 0c5024867d
1 changed files with 7 additions and 0 deletions

7
lib.cf
View File

@ -30,6 +30,13 @@ packages:
package_module => apt_get, package_module => apt_get,
handle => "$(name)_pkgs_installed", handle => "$(name)_pkgs_installed",
classes => results("namespace","$(name)"); classes => results("namespace","$(name)");
fedora|centos::
"$(pkgs)"
policy => "present",
package_module => yum,
handle => "$(name)_pkgs_installed",
classes => results("namespace","$(name)");
} }