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

Update ruby 1.9.3 code paths

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 6.0.0
    • Component/s: None
    • Labels:
      None
    • Template:
      PUP Bug Template
    • Team:
      Coremunity
    • Sprint:
      Platform Core KANBAN
    • Method Found:
      Needs Assessment
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Puppet 6 now requires ruby 2.3 or greater, and will error when running on older ruby versions. Several code paths relating to old ruby behavior have been removed.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Search puppet's code base for all of the places where we branch based on RUBY_VERSION.

      1. Remove code paths for < 2.
      2. Trying to require 'puppet' should generate a LoadError if ruby < 2
      3. Update Puppet::OLDEST_RECOMMENDED_RUBY_VERSION to whatever minimum makes sense.
      4. Remove conditional logic for Puppet[:sourceaddress]

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            josh Josh Cooper
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support