Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-2192

Tasks endpoint doesn't reuse cached environments

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • SERVER 5.3.1
    • SERVER 5.3.3
    • None
    • None
    • Froyo
    • Needs Assessment
    • Bug Fix
    • The {{/puppet/v3/tasks}} endpoint will now reuse cached environments rather than always creating a new one.
    • Needs Assessment

    Description

      The /puppet/v3/tasks endpoint passes a symbol for the environment name rather than a string, which is inconsistent with every other use of retrieving an environment. With cached environments, that results in creating a new environment instead of re-using the cached environment (or registering a new environment with the symbolized name that won't be re-used by anything else). We should pass the environment name as a string instead to be consistent.

      Attachments

        Issue Links

          Activity

            People

              maggie Maggie Dreyer
              michael.smith Michael Smith
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support