Project

General

Profile

Actions

User story #10614

closed

Extend node property documentation for templates

Added by Janos Mattyasovszky over 7 years ago. Updated over 7 years ago.

Status:
Released
Priority:
N/A
Category:
Documentation
Target version:
UX impact:
Suggestion strength:
User visibility:
Infrequent - complex configurations | third party integrations
Effort required:
Name check:
Fix check:
Regression:

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}}}

Actions

Also available in: Atom PDF