hiera-router 0.5.0 → 0.5.1
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 -0
- 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: 7f19b1cd82ddb117ffb39a9ac96c009a36beae09
|
4
|
+
data.tar.gz: cf574cf5c9dbf8d9847bcaf2264d3ec0167a0055
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1f166cf511aaff691d838f0729778b46b477c26764302a9bac22cdf200ed579570844edc7c37dd12e22967376627fd39c2723c905ec2bb109a57eed462d495d
|
7
|
+
data.tar.gz: 1001a914a1fb1c79f84c596a0ea912076646e76a14f3b71cdb73f38a02e2a94f59d329e869d82f96fa5520c59fadba42a8dd719dbc736aed9f37719bd1552ba0
|
@@ -26,6 +26,7 @@ class Hiera
|
|
26
26
|
@cache_time = 60 # Cache all values for 1 minute
|
27
27
|
Hiera.debug("[hiera-router] I'm here!")
|
28
28
|
self.config = Config.config
|
29
|
+
self.config[:hierarchy] = Config[:router][:paths] if Config[:router][:paths] and self.config[:hierarchy].empty?
|
29
30
|
|
30
31
|
if backend_list = Config[:router][:backends]
|
31
32
|
Hiera.debug("[hiera-router] Initializing backends: #{backend_list.keys.join(',')}")
|