Closed scoates closed 12 years ago
loglevel is a reserved word (metaparameter) in Puppet http://docs.puppetlabs.com/references/2.7.9/metaparameter.html
The practical problem, here, is that if we pass a loglevel = "trace" (which is a legitimate log level in supervisor), puppet complains with:
err: Failed to apply catalog: Parameter loglevel failed: Invalid value "trace". Valid values are debug, info, notice, warning, err, alert, emerg, crit, verbose.
This patch simply changes loglevel to log_level. It is a BC break, but… well… it was already broken.
Whoa, yeah that's totally borken. Thanks for finding this!
loglevel is a reserved word (metaparameter) in Puppet http://docs.puppetlabs.com/references/2.7.9/metaparameter.html
The practical problem, here, is that if we pass a loglevel = "trace" (which is a legitimate log level in supervisor), puppet complains with:
This patch simply changes loglevel to log_level. It is a BC break, but… well… it was already broken.