Actions
Bug #21678
closedBug #21686: generated policies are invalid when using a generic method that doesn't exist on linux
generated policies are invalid when using a generic method that doesn't exist on linux
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Config management
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
⇨ Policy update error for process '20' at 2022-08-30 16:34:16 ⇨ Cannot write nodes configuration; cause was: Unexpected: Unexpected: Error when executing hooks: Exit code=1 for hook: '/opt/rudder/etc/hooks.d/policy-generation-node-ready/10-cf-promise-check'. [stdout: error: There are syntax errors in policy files ][stderr:/var/rudder/cfengine-community/inputs.new/technique_2/1.0/rudder_reporting.cf:13:103: error: syntax error unless => concat(""false""); ...] (for node(s) root)
offending code
"774f32ad-f993-4926-8a8b-84920ba974ae_${report_data.directive_id}" usebundle => technique_2_gm_5("Package state windows", "vim", "774f32ad-f993-4926-8a8b-84920ba974ae", "'Package state windows' method is not available on Linux Rudder agent, skip", "vim", "${class_prefix}_package_state_windows_vim", @{args}), unless => concat(""false"");
Updated by Nicolas CHARLES about 2 years ago
- Status changed from New to In progress
Updated by Nicolas CHARLES about 2 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/4460
Updated by Nicolas CHARLES about 2 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|56fdc00c96b7a471fbc4ea72ffbc74763872ea92.
Updated by Vincent MEMBRÉ about 2 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.2.0~rc1 which was released today.
Actions