I’m looking to add a new attribute to the mender client inventory, to keep an eye on the list of packages installed in device with the info about packages.
Since there are a lot of information to be reported, I want to store it in a json file and then update the inventory with the json file.
I want to ask if there is a way to do so instead of directly printing the info?
At the moment inventory is strictly a text string with format KEY=VALUE. Potentially the VALUE field could be JSON but I’m not sure whether what would cause parsing errors on the server. Certainly it would be poorly formatted in the Web UI.