Updating Node Classifier Classes

A newer version is available; see the version menu above for details.

update-classes endpoint

POST /v1/update-classes

Trigger the node classifier to clear the environment cache on the Puppet server, then update class and environment definitions from the Puppet master.


A successful update will return a 201 response with an empty body.

Error Responses

If the Puppet master returns an unexpected status to the node classifier, a 500 Server Error response will be returned, with a JSON body with standard error structure as described in the errors documentation. The kind key will contain “unexpected-response”. The msg key will contain a description of the error returned. The details key will contain a further JSON object, which has url, status, headers, and body keys describing the response the classifier received from the Puppet master.

↑ Back to top