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

improve debug message when failing to load a feature

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 5.0.0
    • None
      • trying to load a library for a provider using a Puppet::Util::Feature produces a helpful debug message, when the loading fails.
    • Agent
    • Bug Fix
    • Provide additional information when a feature is not suitable on a given platform
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support