Actions
Bug #20919
closedSet a report id for all method called within new 7.1 system techniques
Status:
Released
Priority:
N/A
Assignee:
Category:
System techniques
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
Since we use a common report_id for all method call within a directive/rule we skip some part of methods when we call similar bundle.
In system technique case, we call service_started("apache2") and service_enabled("apache2"), and reporting from service enabled is send with info level, not result level. This is because some parts of the methods are not called and are skipped because cfengine skips things that he thinks he has already done (like enabling again reporting for this tuple method/id, hence we receive a log reportn, and not a resut report)
using method_reporting_context_v4 with specifc ids for each call solves this issues
Actions