uses classes result

This commit is contained in:
Tobias Herre 2023-10-06 19:42:23 +02:00
parent 35711c2594
commit 44a5ec4cd0
1 changed files with 5 additions and 4 deletions

9
lib.cf
View File

@ -22,14 +22,15 @@ packages:
"$(pkgs)" "$(pkgs)"
policy => "present", policy => "present",
package_module => pkg, package_module => pkg,
classes => if_repaired("$(name)_repaired"), handle => "$(name)_pkgs_installed",
classes => if_ok("$(name)_ok"); classes => results("namespace","$(name)");
debian:: debian::
"$(pkgs)" "$(pkgs)"
policy => "present", policy => "present",
package_module => apt_get, package_module => apt_get,
classes => if_repaired("$(name)_repaired"), handle => "$(name)_pkgs_installed",
classes => if_ok("$(name)_ok"); classes => results("namespace","$(name)");
} }
body perms wmde_perms(user,group,mode) body perms wmde_perms(user,group,mode)