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.
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
- Status changed from New to In progress
- 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
- 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.
- Assignee changed from Benoît PECCATTE to Alexis Mousset
- Assignee changed from Alexis Mousset to Benoît PECCATTE
- Assignee changed from Benoît PECCATTE to Alexis Mousset
- Status changed from Pending technical review to Pending release
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.3.0~beta1 which was released today.
Also available in: Atom
PDF