Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-1476

Puppet agent should supply an informative user agent

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.9.0
    • Component/s: None
    • Labels:
    • Template:
    • Team:
      Agent
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Puppet will now send a useful User-Agent header when making HTTP requests (of the form User-Agent: Puppet/4.8.2 Ruby/2.1.9-p353 (x86_64-linux). Previously it just sent "Ruby" which wasn't very helpful.

      Description

      Puppet agents currently report a user agent of "Ruby" when contacting the puppet master over https. It would be much more useful for log analysis and (potentially) debugging, if they could set something like:

      puppet agent $(version)/$(ruby https module) $(ruby version)

      Similar behaviour is desirable from the puppetmaster itself, when it contacts eg puppetdb, puppet dashboard.

      Thoughts?

        Attachments

          Activity

            People

            • Assignee:
              qa qa
              Reporter:
              jwm John Morton
              QA Contact:
              Erik Dasher
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support