-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
We need to add a version value to the JSON output of the puppet facts. We can clearly see a big difference between 5.5.x series of puppet and 7.x series (on Debian 12).
I propose to have a python script which will work on the final output file, and fix/update as required by us.
Example version values:
For 5.x series of puppet
{'version': '5' }
For 7.x series of puppet
{'version': '7'}
And so on.
This will help us to identify the format of the file in a proper parsable way, for example on Debian 12, puppet fact does not generate any timestamp in the output, so we have to deal with that.
Metadata
Metadata
Assignees
Labels
No labels