Project

General

Profile

Actions

Bug #26983

open

Almalinux 9.x in a technique condition fails

Added by Nicolas Pawlak 25 days ago. Updated 16 days ago.

Status:
Pending release
Priority:
N/A
Category:
Web - Technique editor
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

Hi,

I'm trying to create on Rudder 8.3.1 a technique with a condition for applying only on AlmaLinux 9.x.

I choose "AlmaLinux" in "Operating system", but when I specify "9" in "Major version", the OS automatically switch to CentOS ("applied configuration expression: centos_9"). And... the rule fails: "Skipping method 'File content' with key parameter '/folder/file' since condition 'centos_9' is not reached was not applicable".

If i choose "AlmaLinux" but without major or minor version, the OS don't switch, applied configuration expression stays with "almalinux" and the rule works (Insert content into /folder/file was repaired). But I can't restrict to AlmaLinux 9, for example.

I don't reproduce this one for other Linux OS : I can specify Debian 11.x or 12.11, Ubuntu 22.10 or 24.04... but with AlmaLinux, if I want to restrict to a specific version, it's saved like CentOS and the rule don't work.

Thanks.

Actions #1

Updated by Nicolas Pawlak 25 days ago

  • Description updated (diff)
Actions #2

Updated by Vincent MEMBRÉ 17 days ago

  • Category set to Web - Technique editor
  • Target version set to 8.2.7

Thank you Nicolas for reporting this issue ! A long time ago condition with version on almalinux were not available on the agent side. They are now available and we should definitely use them!

You can use in "advanced condition" almalinux_x or almalinux_x_y until we fix this issue!

Actions #3

Updated by Vincent MEMBRÉ 17 days ago

  • Status changed from New to In progress
  • Assignee set to Vincent MEMBRÉ
Actions #4

Updated by Vincent MEMBRÉ 17 days ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to Raphael GAUTHIER
  • Pull Request set to https://github.com/Normation/rudder/pull/6422
Actions #5

Updated by Vincent MEMBRÉ 17 days ago

  • Target version changed from 8.2.7 to 8.2.8
Actions #6

Updated by Anonymous 16 days ago

  • Status changed from Pending technical review to Pending release
Actions

Also available in: Atom PDF