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

`loglevel` parameter for `notify` resource not documented

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Docs
    • Labels:
      None
    • Template:
      PUP Bug Template
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Overview
      The notify resource provides a loglevel parameter with colourized output, however, this is not documented at:

      https://puppet.com/docs/puppet/5.5/types/notify.html

      Desired outcome
      Please document the loglevel parameter

      Example

      test.pp

      [debug, info, notice, warning, err, alert, emerg, crit, verbose].each |$level| {
        notify { "message at level ${level}":
          loglevel => $level,
        }
      }
      

      puppet apply test.pp will print several colourized messages (see screenshot)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            geoff@declarativesystems.com Geoff Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support