Project

General

Profile

Actions

Bug #9691

closed

Broken node.env variable in 4.0

Added by Alexis Mousset over 7 years ago. Updated over 7 years ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Seen on Ubuntu 14.04 with Rudder 4.0:

    "node": {
      "env[AWKPATH
TERM
PATH
PWD
MANPATH]": "",

instead of something like:

    "node": {
      "env[BASEDIR]": "/opt/rudder/share/commands",
      "env[DEBIAN_FRONTEND]": "noninteractive",
      "env[HISTCONTROL]": "ignoredups",
      "env[HISTSIZE]": "100000",
...
Actions #1

Updated by Alexis Mousset over 7 years ago

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

Updated by Alexis Mousset over 7 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1082
Actions #3

Updated by Alexis Mousset over 7 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #4

Updated by Alexandre Anriot over 7 years ago

Alexis,

Indeed, I have the same kind of output on Debian 8.

During the rendering, it leads to:

R: Templating error: Invalid control character at: line 2704 column 19 (char 106901)

Alexis MOUSSET wrote:

Seen on Ubuntu 14.04 with Rudder 4.0:

[...]

instead of something like:

[...]

Actions #5

Updated by Vincent MEMBRÉ over 7 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.0.1 which was released today.

Actions

Also available in: Atom PDF