hiera-router 0.2.6b → 0.2.6
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 -6
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bcce52cebc26e2ca476bb28f39267741cb0e5b6
|
4
|
+
data.tar.gz: 5390ffaf9662a4ab8b455a7ecfdec5f780755483
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b96edb77cb044e93578e424a206ab0fc9d177fae001fdb1a85973c43f1fd9f18696a96dea6d154bbc1febfa6dd37a62ed21733e04620c2488cd738fcd97c3423
|
7
|
+
data.tar.gz: 70f0e6b246e4dd7ea0d850420de6df7bf98b2b081b29dac9dd0308412d28501d2e18614eee4cbeadc2c5ac162ff9dfc5d304e9cdce7ccff81a16ac4ee02d792f
|
@@ -41,15 +41,11 @@ class Hiera
|
|
41
41
|
begin
|
42
42
|
YAML.load(cached_data)
|
43
43
|
rescue
|
44
|
-
|
44
|
+
Hiera.debug("[hiera-router] something wrong with source #{source} -- returning an empty result")
|
45
|
+
{}
|
45
46
|
end
|
46
47
|
end
|
47
48
|
|
48
|
-
if data.nil?
|
49
|
-
Hiera.debug("[hiera-router] something wrong with source #{source} '#{yaml_file}' -- returning an empty result")
|
50
|
-
next
|
51
|
-
end
|
52
|
-
|
53
49
|
next if data.empty?
|
54
50
|
next unless data.include?(key)
|
55
51
|
|
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.2.
|
4
|
+
version: 0.2.6
|
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: 2016-12-
|
12
|
+
date: 2016-12-14 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.
|
@@ -38,9 +38,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
38
38
|
version: '0'
|
39
39
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- - "
|
41
|
+
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version:
|
43
|
+
version: '0'
|
44
44
|
requirements: []
|
45
45
|
rubyforge_project:
|
46
46
|
rubygems_version: 2.5.1
|