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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 50ecae31e65d8578923d9ec892584d9bddc22112
4
- data.tar.gz: 488995d6c3aea9dbf8063945c0f87f6c7fb3161f
3
+ metadata.gz: 7f19b1cd82ddb117ffb39a9ac96c009a36beae09
4
+ data.tar.gz: cf574cf5c9dbf8d9847bcaf2264d3ec0167a0055
5
5
  SHA512:
6
- metadata.gz: e7466c3f8135d2c1d2d0f604c7040ad1b15570aaf0735645aa5d76aec76d8b784298c5bb37078f8f7f6a2bf014678341638092041aed806d661385ca382bec6e
7
- data.tar.gz: 16bcb7792fc5a19d8cda774896900f5bb748ed4d1ca13e082e345f8eadb6d8343c1f50812db3ac2948ca17548d471f8e33f49b990006d72afa946570cfd4b955
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(',')}")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hiera-router
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jo Vandeginste