Open
Description
Use Case
it would be really useful to have a default inventory with groups for the pe infrastructure classification groups.
Describe the Solution You Would Like
Work out a PuppetDB query such as https://puppet.com/docs/bolt/latest/bolt_connect_puppetdb.html#practical-usage
that will query PuppetDB based on the assigned classes and create a suitable inventory.yaml that can be used with bolt directly or as the query for Bolt with the orchestrator.
Describe Alternatives You've Considered
parse puppet resource pe_node_group
and render the inventory.yaml from the pe infrastructure node groups tree parent and children.
Additional Context
we can handball it, but it's a pain it's useful to have for customers to prefill in as a template before setup, it is valuable to have post-deploy for reference and can be used for Plan target_nodes