Project

General

Profile

Actions

User story #11726

closed

User story #4670: Allows inventories to be augmented by the user with custom properties

Allow inventories to be augmented by script on the agent side

Added by Nicolas CHARLES about 7 years ago. Updated almost 7 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

Inventories will be augmented via scripts in /var/rudder/hooks.d generating json

Each script will be run in the alphanumerical order, only if executable, and their output is checked to ensure that it is proper JSON

The result is in the tag RUDDER/CUSTOM_PROPERTIES, as proper JSON, automatically escapes
<CUSTOM_PROPERTIES>[{ "bla" : "blu"},{ "never" : "ever"}]</CUSTOM_PROPERTIES>

See https://github.com/fusioninventory/fusioninventory-agent/issues/403

Actions #1

Updated by Nicolas CHARLES about 7 years ago

  • Status changed from New to In progress
Actions #2

Updated by Nicolas CHARLES about 7 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/1405
Actions #3

Updated by Alexis Mousset about 7 years ago

  • Assignee changed from Alexis Mousset to Benoît PECCATTE

I think Benoît is a better reviewer for this one, I don't know perl.

Actions #4

Updated by Nicolas CHARLES about 7 years ago

  • Assignee changed from Benoît PECCATTE to Alexis Mousset
Actions #5

Updated by Nicolas CHARLES about 7 years ago

  • Assignee changed from Alexis Mousset to Benoît PECCATTE
Actions #6

Updated by Nicolas CHARLES about 7 years ago

  • Assignee changed from Benoît PECCATTE to Alexis Mousset
Actions #7

Updated by Nicolas CHARLES about 7 years ago

  • Status changed from Pending technical review to Pending release
Actions #8

Updated by Vincent MEMBRÉ almost 7 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.3.0~beta1 which was released today.

Actions

Also available in: Atom PDF