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

puppetlabs/chocolatey experiences a compile error in rspec when running on linux

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: chocolatey
    • Labels:
    • Template:
      MODULES Bug Template
    • Team:
      Modules
    • Method Found:
      Needs Assessment
    • Zendesk Ticket IDs:
      42539
    • Zendesk Ticket Count:
      1
    • QA Risk Assessment:
      Needs Assessment

      Description

      As described here, running rspec-puppet against puppetlabs/chocolatey (either directly, or on a module that includes chocolatey) results in the error:

      uninitialized constant RSpec::Puppet::Win32::Registry::Error

      This works fine on a windows host. On other modules that include chocolatey, this causes tests like:

          it { is_expected.to compile }

      to fail.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              david.schmitt David Schmitt
              Reporter:
              rnelson0@gmail.com Rob Nelson
              Votes:
              3 Vote for this issue
              Watchers:
              12 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support