Project

General

Profile

User story #8720

Updated by François ARMAND almost 8 years ago

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 /var/rudder/share/123456-7890-xxxxx/rules/managed-data/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" : {} }

Back