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

r10k checkout from forge fails for 4.1.0 - tag from github v4.1.0 works #631

Open
TwizzyDizzy opened this issue Nov 3, 2021 · 0 comments

Comments

@TwizzyDizzy
Copy link
Contributor

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: n/a
  • Ruby: n/a
  • Distribution: n/a
  • Module version: 4.1.0
  • r10k version: 3.5.2

How to reproduce (e.g Puppet code you use)

We're using r10k to fetch modules from the forge. With the current 4.1.0 release our r10k fails to checkout puppetlabs-mongodb when setting the target tag to 4.1.0.

At the same time, when checking out the repository directly from github (see bottom), everything works as expected.

Is it possible, that something went wrong with the publishing in the forge?

Cheers & Thanks in advance
Thomas

What are you seeing

ERROR	 -> Failed to evaluate /etc/puppetlabs/code/environments/pre_development/Puppetfile
Original exception:
Invalid 'version' field in metadata.json: version string cannot be parsed as a valid Semantic Version
ERROR	 -> Failed to evaluate /etc/puppetlabs/code/environments/pre_development/Puppetfile
Original exception:
Invalid 'version' field in metadata.json: version string cannot be parsed as a valid Semantic Version

What behaviour did you expect instead

A normal checkout of the corresponding tag.

Output log

see above

Any additional information you'd like to impart

corresponding line in Puppetfile, that is not working

mod 'puppet-mongodb',            '4.1.0'

corresponding line in Puppetfile, that is working

mod 'puppet-mongodb',             :git => 'https://github.com/voxpupuli/puppet-mongodb', :tag => 'v4.1.0'
rwaffen added a commit to rwaffen/pupin-control that referenced this issue Nov 8, 2021
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

1 participant