Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-2299

DSC module doesn't run under Puppet 4.2.0

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • dsc
    • None

    Description

      While spec tests pass, it would appear that due to the way requires are performed inside the module, there is breakage within Puppet 4.2.0 / Ruby 2.1.5 on Windows

      A strange change was introduced at https://github.com/puppetlabs/puppetlabs-dsc/commit/cdd1db850e6bc4b046596c82cf06c1812e88ffad#diff-1f7407eb598d5b8d11e59f5bb9c3f695R3 that monkeys with the ruby load path. The theory is that something changed behaviorally in Ruby that prevents this from working.

      This is a fairly non-standard approach. In a quick spike it looks like we can remove the `$:` and can instead use `require_relative` where necessary.

      Attachments

        Issue Links

          Activity

            People

              ryan.gard Ryan Gard
              ethan Ethan Brown
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support