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

Update ruby 1.9.3 code paths

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 6.0.0
    • None
    • None
    • Bug Fix
    • 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.
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support