Project

General

Profile

Actions

Bug #12599

closed

Missing API for associating config groups with hosts and hostgroups

Added by Marek Hulán over 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.


Related issues 1 (0 open1 closed)

Blocks Hammer CLI - Feature #7520: Config group commands and host/host group associationClosedOndřej Pražák09/18/2014Actions
Actions #1

Updated by Dominic Cleal over 8 years ago

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.

Actions #3

Updated by Dominic Cleal over 8 years ago

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.

Actions #4

Updated by Dominic Cleal over 8 years ago

  • Blocks Feature #7520: Config group commands and host/host group association added
Actions #5

Updated by Ondřej Pražák over 7 years ago

  • Assignee set to Ondřej Pražák
Actions #6

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4176 added
Actions #7

Updated by Anonymous about 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #8

Updated by Dominic Cleal about 7 years ago

  • translation missing: en.field_release set to 209
Actions

Also available in: Atom PDF