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

pdk convert erroneously adds puppet_litmus #1349

Open
buzzdeee opened this issue May 5, 2024 · 1 comment
Open

pdk convert erroneously adds puppet_litmus #1349

buzzdeee opened this issue May 5, 2024 · 1 comment
Labels
bug needs-triage Newly created issue that has not been reviewed by a PDK contributor

Comments

@buzzdeee
Copy link

buzzdeee commented May 5, 2024

Describe the bug
Running "pdk convert" on an old module ends with error:

Could not find gem 'puppet_litmus (~> 1.0) ruby, x64_mingw' with platform 'x86_64-openbsd' in locally installed
gems.

The source contains the following gems matching 'puppet_litmus (~> 1.0) ruby, x64_mingw':
  * puppet_litmus-1.3.0

pdk (FATAL): Unable to resolve Gemfile dependencies.

The Gemfile then contains section:

group :system_tests do
  gem "puppet_litmus", '~> 1.0', require: false, platforms: [:ruby, :x64_mingw]
  gem "serverspec", '~> 2.41',   require: false
end

To Reproduce
seems to happen anytime.

Expected behavior
pdk convert should work without error.

Additional context
pdk version: 3.0.1, ruby 3.2.3
OpenBSD 7.5, amd64

Editing Gemfile and removing the puppet_litmus line fixes the problem.

@buzzdeee buzzdeee added bug needs-triage Newly created issue that has not been reviewed by a PDK contributor labels May 5, 2024
@buzzdeee
Copy link
Author

buzzdeee commented May 9, 2024

after updating pdk to 3.2.0, just found, pdk update does the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs-triage Newly created issue that has not been reviewed by a PDK contributor
Projects
None yet
Development

No branches or pull requests

1 participant