Skip to content

pdk convert erroneously adds puppet_litmus #1349

Open
@buzzdeee

Description

@buzzdeee

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions