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. :)
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. :)