Closed bastelfreak closed 5 years ago
I did some debugging and noticed that we don't really use the master branch of this module but a strange patched version. I cleaned that up and tested it again with the last release 3.3.0 and master. The issue is fixed and doesn't reappear.
Description of problem
I use this module on a Puppetserver 6.5.0 environment
During an agent run, I get the following error message:
I expected a function that doesn't use the legacy 3.x Puppet API.
I will try to post a minimale example later. Everything that uses the
sensuclassic_sorted_json()
method will produce this error.Command used and debugging output
Platform and version information
ruby 2.4.5p335 (2018-10-18 revision 65137) [x86_64-linux]
on the agent,jruby 9.2.0.0 (2.5.0) 2018-05-24 81156a8 OpenJDK 64-Bit Server VM 25.222-b10 on 1.8.0_222-b10 +jit [linux-x86_64
on the serverAnything else to add that you think will be helpful?
The metadata.json mentions that this module supports Puppet 6. The tests work, but the code clearly matches the described one in the error article at https://puppet.com/docs/puppet/latest/functions_refactor_legacy.html. I don't yet understand why the tests work.