Bug #12599
closed
Missing API for associating config groups with hosts and hostgroups
Added by Marek Hulán about 9 years ago.
Updated over 6 years ago.
Description
There is API to manage config group itself but it seems we don't provide a way how to associate it with a host and hostgroup. Also hammer commands would be nice.
Though we're missing a CRUD interface for individual associations, the whole list of config groups can be set via config_group_ids
and config_group_names
attributes on both host and host groups.
Yeah, they're almost entirely missing. A few have been added over time where somebody has wanted it documented, but we've not done it wholesale.
#2945 added these magic attrs originally and #2931 put it into API responses consistently, but from what I remember of the discussions at the time, Joseph wanted to find a way to document it automatically, which hasn't happened. We've established a pretty comprehensive list in #7568 which could be copied to API docs.
- Blocks Feature #7520: Config group commands and host/host group association added
- Assignee set to Ondřej Pražák
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/4176 added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Translation missing: en.field_release set to 209
Also available in: Atom
PDF