puppetlabs / puppet_operational_dashboards

Apache License 2.0
5 stars 22 forks source link

pe_profiles_on_host: Fix orchestrator support #151

Closed bastelfreak closed 1 year ago

bastelfreak commented 1 year ago

https://github.com/puppetlabs/puppet_operational_dashboards/commit/ddfbe15cbd3fea11175528ce12a14f7ec94b7927 implemented support for Orchestrator metrics. The function pe_profiles_on_host is used to determine of the orchestrator profile is present on a node. The list of possible classes is hardcoded in the function and needs to be extended.

bastelfreak commented 1 year ago

@m0dular can you please take a look and make a new release afterwards?

m0dular commented 1 year ago

Maybe we should refactor this to run the function once and extract the hosts and profiles from that, but for now this works.