hiera-examiner 0.3.9 → 0.3.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hiera-examiner.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: 1d8642f259cc44a9fc599036f27c94763a45c2e1
|
4
|
+
data.tar.gz: 2a5b7ac3445889b640737426bb0f68d9476cbb50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea5b1e07f86eccd94421adaeb341fb80de4d347e503cf1e0cb36d85ffef0c736aa0f07cbc5b9f85553c61cd2b0a07f0b30a4d2e56a994103d001f673813a9e34
|
7
|
+
data.tar.gz: e0203f8639de65af194f001d9320a78a6cdef14f3ae734a3851828f42263779fb2f449dd80e496ad01bc445bed5c3a7877b332af96b0001e27418e9a3fcaa013
|
data/lib/hiera-examiner.rb
CHANGED
@@ -12,7 +12,6 @@ class HieraExaminer
|
|
12
12
|
|
13
13
|
def yamlLookup(key)
|
14
14
|
scope = YAML.load("")
|
15
|
-
scope = {}
|
16
15
|
hiera = Hiera.new(:config => @conf)
|
17
16
|
value = {val: nil, file: nil}
|
18
17
|
Hiera::Backend.datasourcefiles('yaml', scope, 'yaml') { |source, file|
|
@@ -26,6 +25,7 @@ class HieraExaminer
|
|
26
25
|
|
27
26
|
def hieraLookup(key)
|
28
27
|
scope = YAML.load("")
|
28
|
+
scope = {}
|
29
29
|
hiera = Hiera.new(:config => @conf)
|
30
30
|
puts "Looking up '#{key}' in '#{@conf}' with '#{scope}'"
|
31
31
|
return hiera.lookup(key, @conf, scope)
|