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

Reduce noise from notify resource

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:
    • QA Risk Assessment:
      Needs Assessment

      Description

      Currently the notify resource produces a lot of extra output in --test:

      Notice: User['kfj'] not created because they don't have a password.
      Notice: /Stage[main]/Virtual::Users/Account::User[kfj]/Account::User::Windows[kfj]/Notify[User['kfj'] not created because they don't have a password.]/message: defined 'message' as 'User[\'kfj\'] not created because they don\'t have a password.'
      

      That outputs the message three times. I can reduce that slightly by setting the title to something else, but then I have to be careful to use a unique title.

      It would be awesome if it just outputted the message once. Or, if it outputted the message once and the title once — that would be worth it for certain messages.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              daniel.parks Daniel Parks
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support