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 +4 -4
- data/lib/hiera/backend/router_backend.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a59f58d86e4969155b8ca49c9a898ad56d2a26c5
|
4
|
+
data.tar.gz: ca172a02aa06a7aa097df1f0575e8f1de4b31cf1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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-
|
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.
|
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
|