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

improve debug message when failing to load a feature

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 5.0.0
    • Component/s: None
    • Template:
    • Acceptance Criteria:
      • trying to load a library for a provider using a Puppet::Util::Feature produces a helpful debug message, when the loading fails.
    • Team:
      Agent
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Provide additional information when a feature is not suitable on a given platform
    • QA Risk Assessment:
      Needs Assessment

      Description

      When the provider feature feature can't load a gem, the error message is swallowed, making tracing the issue unnecessarily harder.

      Ref: https://github.com/DavidS/puppet/blob/87eac2d16be8993af33842f7ce83cfa04b1d2694/lib/puppet/util/feature.rb#L90

        Attachments

          Activity

            People

            Assignee:
            qa qa
            Reporter:
            david.schmitt David Schmitt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support