Project

General

Profile

Actions

User story #18905

closed

Document usage of sys.ipv4 var in jinja

Added by Alexis Mousset almost 4 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
To do
Fix check:
Checked
Regression:

Description

Some systemd vars which are both string and array have a strange mapping to data.

Using them requires accessing sys.ipv4[eth0] as a string variable, which is unexpected and a bit tricky in jinja2.

Let's add an example to the docs.

Actions #1

Updated by Alexis Mousset almost 4 years ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #2

Updated by Alexis Mousset almost 4 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to François ARMAND
  • Pull Request set to https://github.com/Normation/ncf/pull/1281
Actions #3

Updated by Alexis Mousset almost 4 years ago

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

Updated by François ARMAND almost 4 years ago

  • Fix check changed from To do to Checked
Actions #5

Updated by Vincent MEMBRÉ almost 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.1.10 and 6.2.3 which were released today.

Actions #6

Updated by Alexis Mousset over 2 years ago

  • Project changed from 41 to Rudder
  • Category changed from Generic methods - File Management to Generic methods
Actions

Also available in: Atom PDF