Project

General

Profile

Actions

Feature #827

closed

add support for retrieving classes per host via the api

Added by Corey Osman about 13 years ago. Updated about 13 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

Actions

Also available in: Atom PDF