Closed joshcooper closed 2 months ago
This line is not sane for the setting of the log_level default (because specifying --log_level on the command line always takes precedence over what's specified in puppet.conf)
--log_level
loglevel = %x{ #{puppet_path} config --section agent --log_level notice print log_level }.chomp
It sets log_level to notice, and then return the output of the log_level setting
loglevel = "notice"
is the same thing with fewer steps
Author: Marty Ewings martyewings@gmail.com Supersedes PR #8958
See https://github.com/puppetlabs/puppet/pull/8958#discussion_r1393789337 for details
This line is not sane for the setting of the log_level default (because specifying
--log_level
on the command line always takes precedence over what's specified in puppet.conf)It sets log_level to notice, and then return the output of the log_level setting
is the same thing with fewer steps
Author: Marty Ewings martyewings@gmail.com Supersedes PR #8958