Project

General

Profile

Actions

Bug #23380

closed

Rudderc silently accept unknown parameter constraints

Added by Félix DALLIDET over 1 year ago. Updated over 1 year ago.

Status:
Released
Priority:
N/A
Category:
rudderc
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

The following technique is valid for the current rudderc:

---
id: min
name: NTP
version: "0.1" 
params:
  - id: d76ce2e5-d5b6-45cc-87e8-c11cca71d907
    name: param1
    default: bob
    constraints:
      does_not_exist: patapouf
items:
  - id: d86ce2e5-d5b6-45cc-87e8-c11cca71d907
    method: package_present
    params:
      name: "htop" 
      version: "2.3.4" 

We should prohibit the user to define unknown constraints.

Actions #1

Updated by Félix DALLIDET over 1 year ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET
Actions #2

Updated by Félix DALLIDET over 1 year ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder/pull/5025
Actions #3

Updated by Félix DALLIDET over 1 year ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by Vincent MEMBRÉ over 1 year ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 8.0.0~beta1 which was released today.

Actions

Also available in: Atom PDF