Skip to content

to_toml function is not working #1262

Closed
@skoef

Description

@skoef

Describe the Bug

With stdlib 8.2.0, when using the to_toml function, introduced in 8.1.0, I get the following error message:

Internal Server Error: org.jruby.exceptions.LoadError: (LoadError) no such file to load -- puppet_x/stdlib

looking up the trace in puppetserver, I ended up on this line where the problem would be. Googling a potential solution, I found that @mrbanzai solved the issue on a fork of stdlib and it works for me as well.

If the proposed fix is considered okay, could we upstream that fix perhaps?

Expected Behavior

With the fix applied, the catalog just applies and TOML is properly formatted.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Use to_toml while on stdlib 8.2.0

Environment

  • Version: 8.2.0
  • Platform: Ubuntu 20.04
  • Puppetserver: 7.4.2

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