Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Done
-
None
-
None
-
None
-
1
-
Language 2015-04-29
-
Bug Fix
Description
In the language specification: https://github.com/puppetlabs/puppet-specifications/blob/master/language/expressions.md#function-calls
under the "statement style" subhead, there's a list like:
# logging
|
debug
|
info
|
notice
|
warning
|
error
|
Where "error" is wrong and don't exist. There are also several similar functions that aren't listed. cf. http://docs.puppetlabs.com/references/latest/configuration.html#loglevel
We should allow the 'err' function to be called as a statement. The remaining logging functions are almost never used and should continue to require parentheses.
risk: medium (qa manual validate only for now)
probability: medium
severity: low (work arounds exist)
test layer: acceptance (unit test only confirms parser transform)