Project

General

Profile

User story #10614

Extend node property documentation for templates

Added by Janos Mattyasovszky 5 months ago. Updated 4 months ago.

Status:
Released
Priority:
N/A
Category:
Documentation
Target version:
Target version (plugin):
Suggestion strength:
User visibility:
Infrequent - complex configurations | third party integrations
Effort required:

Description

For Node properties, you have the documentation state this way to access the properties:

${node.properties[datacenter]}

However, this is cfengine syntax. It would be advisable to also include the way how to use them in mustache templates, since it is slightly different:

{{{vars.node.properties.datacenter}}}

Associated revisions

Revision e42f4e1c
Added by Alexis MOUSSET 5 months ago

Fixes #10614: Extend node property documentation for templates

History

#1 Updated by Alexis MOUSSET 5 months ago

  • Tracker changed from Bug to User story
  • Assignee set to Alexis MOUSSET
  • Target version set to 3.1.20

#2 Updated by Alexis MOUSSET 5 months ago

  • Status changed from New to In progress

#3 Updated by Alexis MOUSSET 5 months 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/rudder-doc/pull/304

#4 Updated by Alexis MOUSSET 5 months ago

  • Status changed from Pending technical review to Pending release

#5 Updated by Vincent MEMBRÉ 4 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.1.20, 4.0.5 and 4.1.2 which were released today.

Also available in: Atom PDF