You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since version 6.2.1 it looks like the elastic_plugin provider is using %i[] which is not supported on jruby 1.7.x according to this.
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Resource Statement, Could not autoload puppet/type/elasticsearch_plugin: Could not autoload puppet/provider/elasticsearch_plugin/plugin: /home/puppetcode/environments/production/upstream/elasticsearch/lib/puppet/provider/elastic_plugin.rb:110: unknown type of %string
%i[host port user password].map do |param|
^ (file: /home/puppetcode/environments/production/upstream/elasticsearch/manifests/plugin.pp, line: 134, column: 3) (file: /home/puppetcode/environments/production/services/s_elasticsearch/manifests/plugins/migration.pp, line: 13) on node certname.nine.ch
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
The text was updated successfully, but these errors were encountered:
This was definitely a surprise, I was under the assumption that deprecating Puppet 3.x implied moving to Ruby 2.x wholesale but it does indeed seem that Puppet Server leverages JRuby 1.7, so we will need to continue to support Ruby 1.9.x across the board.
Thank you very much for the reports @ctrox and @fschaer, I'm going through the process of setting up failing tests to ensure that I can catch every instance that may cause problems like this and verifiably ensure that the problem is solved and will continue to be caught with tests in the future.
Bug description
Since version 6.2.1 it looks like the elastic_plugin provider is using
%i[]
which is not supported on jruby 1.7.x according to this.The text was updated successfully, but these errors were encountered: