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

Reduce feature-related debug messages from puppet types to once per provider

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:
    • Team:
      Coremunity
    • QA Risk Assessment:
      Needs Assessment

      Description

      From PUP-8586:

      If a type's property/parameter depends on a provider feature, and that provider feature isn't available, we repeat the same set of messages for every instance of that resource type. I think we should only emit the message once per resource type (and possibly once if the feature becomes true later in the run if the command, feature, etc becomes available):

      Debug: /Firewall[a]: Provider iptables does not support features hop_limiting; not managing attribute hop_limit
      Debug: /Firewall[a]: Provider iptables does not support features ishasmorefrags; not managing attribute ishasmorefrags
      Debug: /Firewall[a]: Provider iptables does not support features islastfrag; not managing attribute islastfrag
      Debug: /Firewall[a]: Provider iptables does not support features isfirstfrag; not managing attribute isfirstfrag
      ...
      Debug: /Firewall[b]: Provider iptables does not support features hop_limiting; not managing attribute hop_limit
      Debug: /Firewall[b]: Provider iptables does not support features ishasmorefrags; not managing attribute ishasmorefrags
      Debug: /Firewall[b]: Provider iptables does not support features islastfrag; not managing attribute islastfrag
      Debug: /Firewall[b]: Provider iptables does not support features isfirstfrag; not managing attribute isfirstfrag
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              chuck Charlie Sharpsteen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Zendesk Support