Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-10414

Windows service calls deprecated `puppet agent --configprint`

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • PUP 6.15.0
    • 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')
      

      Attachments

        Activity

          People

            gabriel.nagy Gabriel Nagy
            josh Josh Cooper
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support