pdk icon indicating copy to clipboard operation
pdk copied to clipboard

pdk convert erroneously adds puppet_litmus

Open buzzdeee opened this issue 1 year ago • 1 comments

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 avatar May 05 '24 18:05 buzzdeee

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

buzzdeee avatar May 09 '24 20:05 buzzdeee