From 643f41a6dfb6ce904a32b1388caa64cd5b84338d Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Fri, 28 Jul 2017 15:23:41 +0000 Subject: Fixed reporting bug in common package policy --- services/common.cf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/common.cf b/services/common.cf index 729ba1a..2cce6fd 100644 --- a/services/common.cf +++ b/services/common.cf @@ -18,14 +18,14 @@ bundle agent common "$(packages)" policy => "present", package_module => apt_get, - classes => if_repaired("common_packages_$(wanted)_add_repaired"); + classes => if_repaired("common_packages_$(packages)_add_repaired"); freebsd:: "$(packages)" policy => "present", package_module => pkg, - classes => if_repaired("common_packages_$(wanted)_add_repaired"); + classes => if_repaired("common_packages_$(packages)_add_repaired"); reports: any:: "$(this.bundle): /etc/hosts repaired" ifvarclass => "common_hosts_files_repaired"; - "$(this.bundle): $(wanted) installed" ifvarclass => "common_packages_$(wanted)_add_repaired"; + "$(this.bundle): $(packages) installed" ifvarclass => "common_packages_$(packages)_add_repaired"; } -- cgit v1.2.3