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

Puppet 4.10.x: Only warn once when gettext cannot be found

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • PUP 4.10.8
    • PUP 4.10.9, PUP 5.3.3
    • None
    • None
    • Hide

      The "gettext unavailable" warning should only be issued once

      Show
      The "gettext unavailable" warning should only be issued once
    • Platform Core
    • 1
    • Platform Core KANBAN
    • Needs Assessment
    • Bug Fix
    • With this change, the puppetserver log will no longer be filled with warnings that i18n failed to initialize. The warning will be issued only once.
    • Manual

    Description

      Currently in Puppet >4.10.5, if the gettext-setup gem cannot be found we will issue a warning for every single module that is loaded, each time that module is loaded. This causes a huge amount of log spam in environments that load a lot of modules, all with nearly the same message:
      2017-09-26 00:05:19,103 WARN [qtp1394837016-64] [puppetserver] Puppet GettextSetup is not available, skipping GettextSetup initialization for <module_name>.

      We should only issue this warning once.

      Attachments

        Activity

          People

            Unassigned Unassigned
            maggie Maggie Dreyer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support