Actions
Bug #15334
closedIn 5.1 common policies always return a missing reports on the server
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
The server rudder is always missing a report on the "Update" component when no repaired has been done.
This is most likely due to an error in class guarding translation, in 5.0 we had:
&if(!INITIAL)& root_server:: "${g.rudder_ncf}/common" copy_from => copy_digest_without_perms("${g.rudder_ncf_origin_common}"), depth_search => recurse_ignore("inf", @{g.excludedreps}), perms => u_mog("644", "root", "0"), action => immediate, move_obstructions => "true", classes => success("rudder_ncf_common_updated", "rudder_ncf_common_update_error", "rudder_ncf_common_updated_ok"), comment => "Update the common Rudder ncf instance"; . . . &endif&
And if 5.1:
initial_promises.root_server:: "${g.rudder_ncf}/common" copy_from => copy_digest_without_perms("${g.rudder_ncf_origin_common}"), perms => u_mog("644", "root", "0"), action => immediate, move_obstructions => "true", classes => success("rudder_ncf_common_updated", "rudder_ncf_common_update_error", "rudder_ncf_common_updated_ok"), comment => "Update the common Rudder ncf instance"; ...
There is a missing "!" before the guard class
Actions