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
There seems to be an issue looking up keys over http with version 2.0.0.
I perform hiera lookup with 'hiera -c hiera.yaml -d keyName' and get the following error:
/usr/lib/ruby/gems/1.8/gems/hiera-http-2.0.0/lib/hiera/backend/http_backend.rb:28: warning: multiple values for a block parameter (2 for 1)
from /usr/lib/ruby/gems/1.8/gems/hiera-http-2.0.0/lib/hiera/backend/http_backend.rb:28
/usr/lib/ruby/gems/1.8/gems/hiera-http-2.0.0/lib/hiera/backend/http_backend.rb:28: warning: multiple values for a block parameter (2 for 1)
from /usr/lib/ruby/gems/1.8/gems/hiera-http-2.0.0/lib/hiera/backend/http_backend.rb:28
/usr/lib/ruby/gems/1.8/gems/hiera-http-2.0.0/lib/hiera/backend/http_backend.rb:28: warning: multiple values for a block parameter (2 for 1)
from /usr/lib/ruby/gems/1.8/gems/hiera-http-2.0.0/lib/hiera/backend/http_backend.rb:28
/usr/lib/ruby/gems/1.8/gems/hiera-http-2.0.0/lib/hiera/backend/http_backend.rb:28: warning: multiple values for a block parameter (2 for 1)
from /usr/lib/ruby/gems/1.8/gems/hiera-http-2.0.0/lib/hiera/backend/http_backend.rb:28
/usr/lib/ruby/gems/1.8/gems/hiera-http-2.0.0/lib/hiera/backend/http_backend.rb:28: warning: multiple values for a block parameter (2 for 1)
from /usr/lib/ruby/gems/1.8/gems/hiera-http-2.0.0/lib/hiera/backend/http_backend.rb:28
/usr/lib/ruby/gems/1.8/gems/hiera-http-2.0.0/lib/hiera/backend/http_backend.rb:30:in `initialize': undefined method `merge' for []:Array (NoMethodError)
from /usr/lib/ruby/site_ruby/1.8/hiera/backend.rb:205:in `new'
from /usr/lib/ruby/site_ruby/1.8/hiera/backend.rb:205:in `lookup'
from /usr/lib/ruby/site_ruby/1.8/hiera/backend.rb:203:in `each'
from /usr/lib/ruby/site_ruby/1.8/hiera/backend.rb:203:in `lookup'
from /usr/lib/ruby/site_ruby/1.8/hiera.rb:60:in `lookup'
from /usr/bin/hiera:225
This doesn't happen in hiera-http version 1.4.0. I am using ruby version 1.8.7.
The text was updated successfully, but these errors were encountered:
Hi,
There seems to be an issue looking up keys over http with version 2.0.0.
I perform hiera lookup with 'hiera -c hiera.yaml -d keyName' and get the following error:
This doesn't happen in hiera-http version 1.4.0. I am using ruby version 1.8.7.
The text was updated successfully, but these errors were encountered: