Bad YAML encoding on the server-side can cause exceptions on the forge when publishing
|Assignee:||Ken Barber||% Done:|
|Keywords:||release version||Affected URL:|
The module puppetlabs/keystone is returning an exception. This seems to be a missing version entry on the release in question in the database, but we’d need to confirm.
The link that throws the error is:
This might be fix-able temporarily, but there is obviously a reason for this to happen in the first place as ‘version’ should be validated before a release is created.
#2 Updated by Ken Barber about 1 year ago
This is actually a YAML parsing error in Ruby. The content in the metadata.json file has content that when Ruby converts it to YAML on the server side, it is not parseable going forward.
This actually works fine in Ruby 1.9.x (including Jruby in 1.9 mode, not 1.8 mode) and using Puppet’s Zaml apparently. For now, the fix is to actually change the description fields in the content itself, this creates parse-able YAML on the server side and for this particular small issue – fixes the issue temporarily: