hiera-router 0.1.8 → 0.1.9
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 +2 -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: e432ecbc1699558863fe2ee1c50ee7e70b696521
|
4
|
+
data.tar.gz: 2b6a287868b7d7691fad3532c9dcbdfb9ed92705
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d4059262fab1f188e5952274e90879116619c4616189a9f850b87a71bf3b44cc3372d3b7a579002bb9ecd942222131a5b5753adb9aee436ab5757b4158904e4
|
7
|
+
data.tar.gz: cbdcd2786b2d33e66b91ea5479e8ea79a99026b13394f8b738aa8cb5c5a82570618a8f8f977881488dbc701ef655f96a06a018c44ce3a82f937848d692541655
|
@@ -96,8 +96,8 @@ class Hiera
|
|
96
96
|
if backend = backends[backend_name]
|
97
97
|
result = backend.lookup(backend_options[:key], backend_options[:scope], nil, backend_options[:resolution_type])
|
98
98
|
else
|
99
|
-
Hiera.warn "Backend '#{backend_name}' was not configured."
|
100
|
-
result =
|
99
|
+
Hiera.warn "Backend '#{backend_name}' was not configured; returning the data as-is."
|
100
|
+
result = data
|
101
101
|
end
|
102
102
|
Hiera.debug "Call to '#{backend_name}' finished."
|
103
103
|
return result
|