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)"
policy => "present",
package_module => pkg,
classes => if_repaired("$(name)_repaired"),
classes => if_ok("$(name)_ok");
handle => "$(name)_pkgs_installed",
classes => results("namespace","$(name)");
debian::
"$(pkgs)"
policy => "present",
package_module => apt_get,
classes => if_repaired("$(name)_repaired"),
classes => if_ok("$(name)_ok");
handle => "$(name)_pkgs_installed",
classes => results("namespace","$(name)");
}
body perms wmde_perms(user,group,mode)