Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Name-aliases for displaying nodes #473

Open
hertell opened this issue Nov 5, 2024 · 1 comment · May be fixed by #498
Open

Name-aliases for displaying nodes #473

hertell opened this issue Nov 5, 2024 · 1 comment · May be fixed by #498
Assignees

Comments

@hertell
Copy link

hertell commented Nov 5, 2024

I have bunch of nodes that are named in a "technical way" as serverXX.domain.tld. This makes it hard to pick the right customer's server if you need do some adjustments to their hiera-data.

I would like to suggest that hdm could also use eg. the hostname or a specfic hiera value when selecting nodes.

@tuxmea
Copy link
Member

tuxmea commented Nov 26, 2024

@hertell Providing additional names in the node list will confuse other people.
How about the following idea:

  • after selecting a node there is an additional text element, which can show node facts or trusted facts (facts.networking.fqdn, facts.networking.ip, trusted.extension.pp_role, ...) from the selected node

This will give you additional information if the right node was selected.

Possible entries can be:

  • trusted.extension.pp_role
  • facts.networking.fqdn

Example for hdm.yaml config file:

  additional_node_info:
    - facts.networking.fqdn
    - trusted.extensions.pp_role

When additional_node_info is NOT set, the test will not be shown.
If a fact or trusted fact does not provide data (or does not exist) we will show an empty value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants