Project

General

Profile

Actions

User story #8720

closed

User story #6733: Allow Node properties to be used in directives and ncf techniques

Generate a json file containing node properties for each node

Added by François ARMAND over 8 years ago. Updated over 8 years ago.

Status:
Released
Priority:
2
Category:
Web - Config management
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

This is from Rudder web app point of view. We need to give the node everything so that he can work.

More preciselly, it means:
- for each node, create a JSON file that will be transfered to the node along with its policies,
- the file is: /var/rudder/share/123456-7890-xxxxx/rules/properties.d/node-properties.json
- the file contains a top level namespace ("node-properties"), and one key/value for each node property: { "node-properties" : { "key1": "value1", "key2": "value2" } }
- if the node doesn't have any properties, the file is generated and is { "node-properties" : {} }

Actions

Also available in: Atom PDF