hiera-router 0.3.8 → 0.4.0

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: 195952fdfc13469cd0e964f0f08cd4331011ed3f
4
- data.tar.gz: 611d3d57d2a4df80f2bbf681236560fbf9e8d74a
3
+ metadata.gz: a59f58d86e4969155b8ca49c9a898ad56d2a26c5
4
+ data.tar.gz: ca172a02aa06a7aa097df1f0575e8f1de4b31cf1
5
5
  SHA512:
6
- metadata.gz: 680057f568fb7d2a918f828fb0ab519393d7f18750289aa163b2d1a30de706475887bb6bc3f606c4077e8789468496134d59f2c30f8d3799e711c6114626962f
7
- data.tar.gz: 2d1c1904bfca4c5cb69666fafeb7371a34890e7c4544d4f35f6e793ec1e9b8fb6c4ebc63bf3d9fa189fe7a1178586c0dd1f4a18d4ac9c6cc3b1ea3094cf8f23a
6
+ metadata.gz: 0e2fb68e60fc7af54db17ba6acf555f14700d0237b2345cc2d29c61a5a75974e4a63d69a0ede42148d43faf936b05cd72cd8f9c26539386a2a06d627419e0276
7
+ data.tar.gz: 7092a81404c26b7f5ba291b80a1c60052c985e6021d1d5c59444f9a2c84a242c269ca4ce444022139bad3bd5d9a36e3a21b804e328322251969fc88238711b7f
@@ -25,6 +25,7 @@ class Hiera
25
25
  @backends = {}
26
26
  @cache_time = 60 # Cache all values for 1 minute
27
27
  Hiera.debug("[hiera-router] I'm here!")
28
+ Config.config[:hierarchy] = Config.config[:router][:paths] if Config.config[:router][:paths]
28
29
  self.config = Config.config
29
30
 
30
31
  if backend_list = Config[:router][:backends]
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.3.8
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jo Vandeginste
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-04-21 00:00:00.000000000 Z
12
+ date: 2017-06-22 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: |
15
15
  This hiera backend replaces the default yaml backend, but will resend queries to other hiera backends based on the value returned by the yaml files.
@@ -43,7 +43,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
43
43
  version: '0'
44
44
  requirements: []
45
45
  rubyforge_project:
46
- rubygems_version: 2.5.1
46
+ rubygems_version: 2.6.11
47
47
  signing_key:
48
48
  specification_version: 4
49
49
  summary: This hiera backend to selectively forward requests to different hiera backends