Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error uninitialized constant RSpec::Puppet::Win32::Registry::Error running on linux env #287

Closed
jakeRM opened this issue Oct 15, 2020 · 1 comment

Comments

@jakeRM
Copy link

jakeRM commented Oct 15, 2020

I was hoping to run onceover strictly on a linux docker container with the latest version, but I am receiving this error when I try to run it for windows servers.

profile::windows::chocolatey: failed
  errors:
    uninitialized constant RSpec::Puppet::Win32::Registry::Error
Did you mean?  RSpec::Puppet::Errors
               IOError
               Errno
      factsets: BIS-windows2012-baseline, BIS-windows2012-webserver, BIS-windows2016-baseline, BIS-windows2016-webserver, BIS-windows2019-baseline-jenkinsbuilder, BIS-windows2019-baseline

I found something online about this, which I believe might be related: rodjek/rspec-puppet#691

I am not that well versed in the rspec code but is there anything I can do to work around this issue other then run onceover on windows?

Any help would be greatly appreciated, and I can attach any files that will help troubleshoot this.

@dylanratcliffe
Copy link
Collaborator

This has now been fixed in the upstream module and should work with puppetlabs/chocolatey versions >= 6.0.1. If it's still failing feel free to reopen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants