Uploaded image for project: 'R10K (moved to puppet.atlassian.net)'
  1. R10K (moved to puppet.atlassian.net)
  2. RK-388

resolve Ruby 2.7 "Using the last argument as keyword parameters is deprecated" warning

    XMLWordPrintable

Details

    • Froyo
    • Froyo - 1/19/2022
    • 46994,47901
    • 2
    • Not Needed
    • Needs Assessment

    Description

      In quite a few support tickets, I have noticed the following warning in relation to r10k and code manager:

      warning: Using the last argument as keyword parameters is deprecated
      

      It does seem to be only cosmetic and doesn't cause any issues with deployment etc but it would be nice to get this resolved to remove noise from logs and confusion for customers

      Some quick investigation would seem that this is a problem with ruby 2.7, in particular, Ruby 2.7 deprecated the use of hashes in the last argument of a method call.

      Attachments

        Issue Links

          Activity

            People

              maggie Maggie Dreyer
              patrick.grant Patrick Grant
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support