This resource has been removed. To continue using it please install the Foreman Puppet plugin and use its API endpoints.


GET /api/hostgroups/:hostgroup_id/puppetclass_ids DEPRECATED
List all Puppet class IDs for host group

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer


POST /api/hostgroups/:hostgroup_id/puppetclass_ids DEPRECATED
Add a Puppet class to host group

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer


DELETE /api/hostgroups/:hostgroup_id/puppetclass_ids/:id DEPRECATED
Remove a Puppet class from host group

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer