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

Windows service calls deprecated `puppet agent --configprint`

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 6.15.0
    • Component/s: None
    • Labels:
    • Template:
      PUP Bug Template
    • Team:
      Night's Watch
    • Story Points:
      2
    • Sprint:
      NW - 2020-04-15, NW - 2020-04-29
    • Method Found:
      Needs Assessment
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Fix Puppet Windows service calling deprecated `puppet agent --configprint`.
    • QA Risk Assessment:
      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

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

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support