Actions
Feature #15095
closedAdd Puppet server environment_classes API support
Difficulty:
Triaged:
Description
For Puppet Server 2.3.0 or higher (Puppet version 4.4+), a new environment_classes API is available that replaces resource_types.
https://docs.puppet.com/puppetserver/2.3/release_notes.html#new-feature-environmentclasses-api
https://docs.puppet.com/puppetserver/2.3/puppet-api/v3/environment_classes.html
In Puppet 4.5 (probably Puppet Server 2.4.0?) the older resource_types API is deprecated:
https://docs.puppet.com/puppet/4.5/reference/release_notes.html#deprecations
There are some features that we can expose in the smart proxy, e.g.
- typing via
default_literal
- Foreman already follows the type of the default value in the JSON response (int, hash etc) to set the type of the smart class parameter. resource_types returns everything as a string. - reporting of errors - this could be logged on the smart proxy and/or added to the API response
- clearer caching semantics with etag/matching support
Updated by Dominic Cleal over 8 years ago
- Related to Feature #13667: puppet_proxy and puppetca modules load puppet gem in puppet 4.0 and higher environments added
Updated by Dominic Cleal over 8 years ago
- Blocks Tracker #15096: Puppet 5 support added
Updated by Anonymous over 8 years ago
- Status changed from New to Assigned
- Assignee set to Anonymous
Updated by Dominic Cleal over 8 years ago
- Related to Bug #3900: Class removed because invalid syntax validation added
Updated by Anonymous about 8 years ago
- Related to Bug #15461: Smart-Proxy is unable to retrieve puppet environments due to timeout added
Updated by The Foreman Bot almost 8 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/smart-proxy/pull/460 added
Updated by Anonymous almost 8 years ago
- Related to Bug #2289: smart-proxy should warn when it cannot read some puppet module file or directory added
Updated by Anonymous almost 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 8799d0c40952ce1ef42e3f4cb0fb36cb4971b166.
Updated by Dominic Cleal almost 8 years ago
- Translation missing: en.field_release set to 189
Updated by The Foreman Bot almost 8 years ago
- Pull request https://github.com/theforeman/foreman-packaging/pull/1362 added
Updated by Dominic Cleal almost 8 years ago
- Related to Bug #16760: Cannot load concurrent ruby in smart proxy puppet V3 API added
Updated by Dominic Cleal over 7 years ago
- Related to Bug #18290: "Puppet is taking too long to respond" during class import with Puppet 4.x added
Updated by The Foreman Bot over 5 years ago
- Pull request https://github.com/theforeman/smart-proxy/pull/633 added
Actions