Skip to content

Adding a version to invent output #232

@kushaldas

Description

@kushaldas

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions