Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion inventory/any.cf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ bundle common inventory_any

"policy_version" -> { "ENT-9806" }
string => "$(default:control_common.version)",
meta => { "inventory", "attribute_name=CFEngine policy version" };
meta => { "inventory", "attribute_name=CFEngine policy version" },
if => not(isvariable("sys.policy_version")),
comment => concat( "Don't inventory the policy version from policy when it's available",
" as a sys var to avoid duplicate values being inventoried.");

reports:
"DEBUG|DEBUG_$(this.bundle)"::
Expand Down