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

Create library for parsing hiera data #84

Open
rwaffen opened this issue Sep 6, 2022 · 2 comments
Open

Create library for parsing hiera data #84

rwaffen opened this issue Sep 6, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@rwaffen
Copy link
Member

rwaffen commented Sep 6, 2022

divide objects and export hiera parsing into an own library.

@rwaffen rwaffen added the enhancement New feature or request label Sep 6, 2022
@tuxmea
Copy link
Member

tuxmea commented Aug 10, 2023

@bastelfreak David mentioned that you have ideas on what to achieve here.

@oneiros
Copy link
Collaborator

oneiros commented Mar 21, 2024

Since Robert added this after a comment I made, and since we have talked about this briefly many times now, I think I should elaborate:

The code is already structured such that we have "high-level" classes to work with in the web layer, and "low-level" classes that directly interact with hiera yaml files in the file system.

My idea was to extract the latter into its own gem. Having a dedicated library to query hiera data might not only be beneficial for hdm but might also be used in other projects.

We could even couple this with a small CLI-Tool to query hiera data.

But this is all just an idea and nothing that will benefit hdm immediately. We might even move it to a discussion, because it is not really an "open issue".

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

No branches or pull requests

3 participants