hdm icon indicating copy to clipboard operation
hdm copied to clipboard

Create library for parsing hiera data

Open rwaffen opened this issue 3 years ago • 3 comments

divide objects and export hiera parsing into an own library.

rwaffen avatar Sep 06 '22 12:09 rwaffen

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

tuxmea avatar Aug 10 '23 12:08 tuxmea

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".

oneiros avatar Mar 21 '24 09:03 oneiros