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

Updated puppet gem and rspec-puppet Failures

    XMLWordPrintable

Details

    • Night's Watch
    • NW - 2021-10-20
    • Needs Assessment
    • Bug Fix
    • Hide
      This release moves the `DEFAULT_TIMEOUT` constant from `lib/puppet/util/windows/service.rb` to `lib/puppet/util/windows.rb` in an non-OS specifically guarded code area. This avoids `uninitialized constant` errors when compiling catalogs on non-Windows operating systems.
      Show
      This release moves the `DEFAULT_TIMEOUT` constant from `lib/puppet/util/windows/service.rb` to `lib/puppet/util/windows.rb` in an non-OS specifically guarded code area. This avoids `uninitialized constant` errors when compiling catalogs on non-Windows operating systems.
    • Needs Assessment

    Description

      Hi,

      When updating the puppet gem from 7.11 --> 7.12, we are now seeing rspec-puppet (via onceover) failures for all Windows related tests:

      role::windows::hyperv: failed
        errors:
          uninitialized constant Puppet::Util::Windows::Service
            factsets: windows-2016-x86_64
      

      At a quick glance I didn't find any of our currently used modules using that, but will keep looking for any helpful information to provide.

      Attachments

        Issue Links

          Activity

            People

              luchian.nemes Luchian Nemes
              jake.spain Jake Spain
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support