Please review pull request #33: just applied the patch from issue #10975, could you please release a minor update? thx opened by (mindreframer)
Description:
Diff follows:
diff --git a/lib/hiera/backend.rb b/lib/hiera/backend.rb
index 3f593b1..e0c7c85 100644
--- a/lib/hiera/backend.rb
+++ b/lib/hiera/backend.rb
@@ -155,7 +155,7 @@ def lookup(key, default, scope, order_override, resolution_type)
answer = nil
Config[:backends].each do |backend|
- if constants.include?("#{backend.capitalize}_backend")
+ if constants.include?("#{backend.capitalize}_backend") || constants.include?("#{backend.capitalize}_backend".to_sym)
@backends[backend] ||= Backend.const_get("#{backend.capitalize}_backend").new
answer = @backends[backend].lookup(key, scope, order_override, resolution_type)