hiera-router 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hiera/backend/router_backend.rb +1 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fafaff4f4c799dd687359d49d2ff3b945ce5a38
|
4
|
+
data.tar.gz: f4dcb3f54d9f9c41664d4aea1e96daa5c5a2d00f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ccb322433f7dc7ba2afaa8c799b0a3fb6c684c557f645e5e75e2e916257eb9314f8888f1da8e0ee7d9636b87048589c7abea9c411295c0342009d38074d74494
|
7
|
+
data.tar.gz: 8513e838ae89fd2a1313ad077f0c7a797680b6909644f0acd95ec5be77ba666abd4467d078ec72fb6dfff5a03849b95fd7d9b61ad336ad35542d85e8e1c026d1
|
@@ -99,8 +99,7 @@ class Hiera
|
|
99
99
|
if backend = backends[backend_name]
|
100
100
|
result = backend.lookup(backend_options[:key], backend_options[:scope], nil, backend_options[:resolution_type])
|
101
101
|
else
|
102
|
-
|
103
|
-
result = data
|
102
|
+
raise "Backend '#{backend_name}' was not configured"
|
104
103
|
end
|
105
104
|
Hiera.debug("[hiera-router] Call to '#{backend_name}' finished.")
|
106
105
|
return result
|