Project

General

Profile

Actions

Bug #27450

open

Fix the rudder_info! macro to make it usable in audit mode

Added by Martin HART 8 days ago. Updated 8 days ago.

Status:
Pending release
Priority:
N/A
Category:
Agent
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Actions #1

Updated by Martin HART 8 days ago

  • Status changed from New to In progress
Actions #2

Updated by Martin HART 8 days ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Martin HART to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder/pull/6568
Actions #3

Updated by Martin HART 8 days ago

CFEngine offers multiple [log levels](https://docs.cfengine.com/docs/3.26/reference-promise-types.html#log_priority). The `info` level previously used in our macro is intended to be used only in [enforce mode](https://github.com/cfengine/core/blob/37e62318b14c9b581fea20b0f02b069b758223ac/libpromises/mod_custom.c#L1039). The `rudder_info!` macro will now use the `notice` priority level to retain the same semantics while avoiding CFEngine errors when running in audit mode.

Actions #4

Updated by Anonymous 8 days ago

  • Status changed from Pending technical review to Pending release
Actions

Also available in: Atom PDF