summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Dessaux2017-07-28 15:23:41 +0000
committerJulien Dessaux2017-08-03 13:58:44 +0000
commit643f41a6dfb6ce904a32b1388caa64cd5b84338d (patch)
tree58ee95e7c5642a87b9023086a1e42e3b02a89ff3
parentAdded freebsd support (diff)
downloadmasterfiles-643f41a6dfb6ce904a32b1388caa64cd5b84338d.tar.gz
masterfiles-643f41a6dfb6ce904a32b1388caa64cd5b84338d.tar.bz2
masterfiles-643f41a6dfb6ce904a32b1388caa64cd5b84338d.zip
Fixed reporting bug in common package policy
-rw-r--r--services/common.cf6
1 files 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";
}