Project

General

Custom queries

Profile

Actions

Feature #827

closed

add support for retrieving classes per host via the api

Added by Corey Osman about 14 years ago. Updated about 14 years ago.

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

Description

I would like to be able to get the assigned classes on a per host basis. I think it make logical sense to use the following url

GET: http://foreman/hosts/fqdn/puppetclasses

This would return a json object with the classes that the host is assigned.

A change similar to the following would need to be done:

http://pastie.org/1776402

#1

Updated by Ohad Levy about 14 years ago

  • Status changed from New to Ready For Testing
  • % Done changed from 0 to 100
#2

Updated by Ohad Levy about 14 years ago

  • Status changed from Ready For Testing to Closed
  • Assignee set to Ohad Levy
  • Target version set to 0.3
Actions

Also available in: Atom PDF