Project

General

Profile

Actions

Feature #15095

closed

Add Puppet server environment_classes API support

Added by Dominic Cleal almost 8 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Puppet
Target version:

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.

  1. 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.
  2. reporting of errors - this could be logged on the smart proxy and/or added to the API response
  3. clearer caching semantics with etag/matching support

Related issues 7 (1 open6 closed)

Related to Smart Proxy - Feature #13667: puppet_proxy and puppetca modules load puppet gem in puppet 4.0 and higher environments Closed02/11/2016Actions
Related to Foreman - Bug #3900: Class removed because invalid syntax validationNew12/17/2013Actions
Related to Smart Proxy - Bug #15461: Smart-Proxy is unable to retrieve puppet environments due to timeoutResolved06/20/2016Actions
Related to Smart Proxy - Bug #2289: smart-proxy should warn when it cannot read some puppet module file or directoryResolved03/07/2013Actions
Related to Smart Proxy - Bug #16760: Cannot load concurrent ruby in smart proxy puppet V3 APIClosedDominic Cleal09/30/2016Actions
Related to Smart Proxy - Bug #18290: "Puppet is taking too long to respond" during class import with Puppet 4.xClosed01/27/2017Actions
Blocks Foreman - Tracker #15096: Puppet 5 supportClosed05/19/2016

Actions
Actions #1

Updated by Dominic Cleal almost 8 years ago

  • Related to Feature #13667: puppet_proxy and puppetca modules load puppet gem in puppet 4.0 and higher environments added
Actions #2

Updated by Dominic Cleal almost 8 years ago

Actions #3

Updated by Anonymous almost 8 years ago

  • Status changed from New to Assigned
  • Assignee set to Anonymous
Actions #4

Updated by Dominic Cleal almost 8 years ago

  • Related to Bug #3900: Class removed because invalid syntax validation added
Actions #5

Updated by Dominic Cleal almost 8 years ago

  • Description updated (diff)
Actions #6

Updated by Anonymous almost 8 years ago

  • Related to Bug #15461: Smart-Proxy is unable to retrieve puppet environments due to timeout added
Actions #7

Updated by The Foreman Bot over 7 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/smart-proxy/pull/460 added
Actions #8

Updated by Anonymous over 7 years ago

  • Related to Bug #2289: smart-proxy should warn when it cannot read some puppet module file or directory added
Actions #9

Updated by Anonymous over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #10

Updated by Dominic Cleal over 7 years ago

  • translation missing: en.field_release set to 189
Actions #11

Updated by The Foreman Bot over 7 years ago

  • Pull request https://github.com/theforeman/foreman-packaging/pull/1362 added
Actions #12

Updated by Dominic Cleal over 7 years ago

  • Related to Bug #16760: Cannot load concurrent ruby in smart proxy puppet V3 API added
Actions #13

Updated by Dominic Cleal about 7 years ago

  • Related to Bug #18290: "Puppet is taking too long to respond" during class import with Puppet 4.x added
Actions #14

Updated by The Foreman Bot about 5 years ago

  • Pull request https://github.com/theforeman/smart-proxy/pull/633 added
Actions

Also available in: Atom PDF