Issue #9592 has been reported by Stijn Hoop.
----------------------------------------
Feature #9592: notify resource type is a bit verbose
https://projects.puppetlabs.com/issues/9592
Author: Stijn Hoop
Status: Unreviewed
Priority: Low
Assignee:
Category:
Target version:
Affected Puppet version:
Keywords:
Branch:
It seems to me that the notify resource is a bit verbose. It always prints the
fact that I've defined 'message' as something, just below the line where the
same message is printed. I realise that this is simply aesthetics but I wanted
to put it out there anyway.
Given the following resource:
notify { 'foo':
name => 'foo',
message => 'bar',
loglevel => 'alert',
}
The current output is:
alert: bar
alert: /Stage[main]//Notify[foo]/message: defined 'message' as 'bar'
notice: Finished catalog run in 0.03 seconds
In which the second line is redundant to me. I would prefer the following
output (only):
alert: /Stage[main]//Notify[foo]/message: bar
notice: Finished catalog run in 0.03 seconds
Note as well that the loglevel metaparameter influences both lines right now.
In the event that both lines need to be kept, maybe only the first line (the
real message) would have to be printed at the specified loglevel? That would
allow me to 'filter' the "defined message as ..." log as well.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.