You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
We need to add a version value to the JSON output of the
puppet facts
. We can clearly see a big difference between5.5.x
series ofpuppet
and7.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
For 7.x series of puppet
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 anytimestamp
in the output, so we have to deal with that.The text was updated successfully, but these errors were encountered: