-
Notifications
You must be signed in to change notification settings - Fork 0
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
Config Groups #42
Comments
marked this issue as blocking #33 |
added 5m of time spent |
added 23m of time spent |
marked this issue as blocking #43 |
removed the relation with #33 |
marked this issue as blocking #33 |
marked this issue as blocking #44 |
mentioned in commit c9982e43be233044937ea673d2afc6d13321803b |
mentioned in commit 36eb9d34109e7832b72ee0bb5f532a12e1ee7579 |
mentioned in commit 1e56d8a2abe83526d3d2a80f9b452722c2fffa8e |
mentioned in commit fdeae21 |
mentioned in commit 746b7ac |
mentioned in commit d422f2f |
mentioned in commit a7d195d |
marked the checklist item |
mentioned in commit 7abcc8b6dc86b1e58c5a8bf0e8971043ad8a371e |
mentioned in commit 69d07701b2f6a8532a6282a38899776dde77d79e |
mentioned in commit 3e2b10a6947f4a11c8e9bf4e9ff4361bf03d08e7 |
mentioned in commit fc2b47a4cf3b6a0af4ec9b4f8f47e327e64499bd |
mentioned in commit fff51e3 |
mentioned in commit df27a7d |
mentioned in commit 7eee0a2 |
mentioned in commit 39bfbd2 |
mentioned in commit c9098f5 |
mentioned in commit 5cb155e |
marked the checklist item new field |
added 13h 35m of time spent |
subtracted 13h 35m of time spent |
mentioned in commit 1f35f44 |
mentioned in commit 9e4ee4e9a666fc6cdaf05bd66dc36000dc7eac98 |
mentioned in commit aeef107026e950b2f27934843c6f4e0f2ad34e8b |
mentioned in commit 62e605d |
mentioned in commit 55f0db2 |
mentioned in commit 5873897 |
marked the checklist item |
marked the checklist item history is maintained as completed |
marked the checklist item API endpoint for config groups and rendered config as completed |
mentioned in commit 0a17329 |
mentioned in commit 23a06be |
Add a feature for the config management module for host groups.
Use Case
be able to assign a host to a group for the purpose of config management. the groups can have configuration assigned to it that is then rendered as part of the hosts configuration.
Details
Groups can be stored in a single model
groups
with the following fieldsid
primary keyname
name of the groupparent
primary id of the parent group ornull
for group with no parentconfig
json of groups configcreated
dtg createdmodified
dtg modifiedConfig rendering
function
within model to render configConfig rendering can be done via a function that is a recursive lookup. the lookup returns the config of the child group and merges it with the current group overriding any config that conflicts with that of the child group. conflicting settings override precedence is child group then groups from left to right. A hosts config will always override that of any group config.
Config validation
Exception
Configuration is invalidAny configuration will need to have it validated as valid json.
Hosts
config_groups
Host group storage will not need a model as the hosts model can be modified to include a single field that is a
one to many field
. this will allow a host to be assigned to multiple groups.Requirements
The text was updated successfully, but these errors were encountered: