hiera-router 0.4.0 → 0.4.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 -1
- 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: 5cebbd7f08d8c22d458a5da0fa9b68990db6b4ee
|
4
|
+
data.tar.gz: 1d35150e1b5a54f482c23f9609a37c996ed4ad72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81015d9fc5c54676fd6f1bc682a73b5f9d0b224d48a204c1aa82c17c59702dfb68414c1869d6bf4d90bcce3808f76a1f82a5d3f18ec848fcec2ec02533eef2b2
|
7
|
+
data.tar.gz: '0940eadcec9949bb8f22b1c52e4cd03a19c5fccf7129870d9a3da570cdb202abe2e7f34cb31505ec62264f166c46a4dd4f0bb6322b257170cd77e01dd600ff55'
|
@@ -104,7 +104,7 @@ class Hiera
|
|
104
104
|
when :array
|
105
105
|
raise Exception, "Hiera type mismatch: expected Array and got #{new_answer.class}" unless new_answer.kind_of? Array or new_answer.kind_of? String
|
106
106
|
answer ||= []
|
107
|
-
answer
|
107
|
+
answer = answer | new_answer
|
108
108
|
when :hash
|
109
109
|
raise Exception, "Hiera type mismatch: expected Hash and got #{new_answer.class}" unless new_answer.kind_of? Hash
|
110
110
|
answer ||= {}
|