Skip to content

Add support for a config file #193

Description

@gdubicki

It would be cool if this library could read the PuppetDB URL, certificate and key paths and all other connect parameters from a config file.

This would allow easier writing of cli tools using this library as they could all share a common configuration, out of the box.

I propose to use the same path and config syntax as Puppet's own PuppetDB cli as this will provide a single configuration place for users of both the Puppet Enterprise and this library or its derivatives.

If this is something that would get merged then I can provide a PR. :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions