Repository navigation
Replies: 3 comments
|
Problem: when and which module data should be shown? A module can have many parameters and hiera data. Or: we parse all modules and show all module data. |
0 replies
|
We onöly show module data as defaults if a module key is set in global or env hieradata |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Request
Solution
Within HDM -> environments -> node -> Key
Check if the selected key first part of the name is a module name by:
modulepathsetting (usemodulesas default, multiple entries are separated by colon:, can also be absolute path)Puppet.settings('basemodulepath')Default:
modulepathdirectories in order for a directory with the same namehiera.yamlinside the directoryhiera.yamlfile existsIf module data exist, a button
modulewill show up next to the key.Now HDM switches into module data view.
There should be a button
environmentwhich leads back to the environment data (ideally the one where we switched to module data view).Within the key list, only module data are shown.
The hiera data directory/file structured is build in the same way as we do it now with environment data.
When selecting a key, one sees the same view as in environment data.
All reactions