Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Night's Watch
-
2
-
NW - 2020-04-15, NW - 2020-04-29
-
Needs Assessment
-
Bug Fix
-
Fix Puppet Windows service calling deprecated `puppet agent --configprint`.
-
Needs Assessment
Description
If you set the log_level to debug and restart the Windows agent running as a service,
C:\> puppet config set log_level debug --section main
|
C:\> puppet config set logdest C:\Users\Administrator --section main
|
Then the Windows agent will log a deprecation warning each time it runs due to calling `puppet agent --configprint runinterval`. It should instead call `puppet config print runinterval --section agent`.
2020-04-06 21:27:15 +0000 Puppet (warning): Using --configprint is deprecated. Use 'puppet config <subcommand>' instead.
|
(location: C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/vendor_ruby/puppet/settings.rb:498:in `print_config_options')
|