Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-1896

Facter spec has incorrect ruby dependency

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Duplicate
    • FACT 3.12.1
    • None
    • None
    • Platform OS
    • Needs Assessment
    • Needs Assessment

    Description

      facter/lib/gemspec.in contains the following

      s.required_ruby_version = '~> 2.1.7'

      This is appearing in the puppet agent rpm along with ruby 2.4

      We can't bundle our puppet manifest dependencies and roll out any new puppet modules using the newer gemspec format that seems to be triggering actually looking at this.

      I believe the correct text should be

      s.required_ruby_version = '>= 2.1.7'

      manual editing of the deployed file gets around the issue in manual testing, but we can't do that in our real environment easily.

      My ruby foo is not up to knowing if this is the "right" fix, or how to test for unforeseen consequences, but specifying ruby 2.1 in an install that ships with ruby 2.4 is intuitively wrong and bad in it's own right

       

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              arielnh56 Alastair Young
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support