hiera-examiner 0.4.4 → 0.4.5
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 +3 -3
- 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: e9a8c60a960d9e59b5c56506494a7cca058eef76
|
4
|
+
data.tar.gz: 6afc3e7f031d4d00eb885c6f265493f08c2c2d99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eecb50b9ccb2c9dcc6969344b7d5e68dd689725ba659ff58479155607aecb6a0a938fd2a12033864d8bff8fd1484e132d73a232beb5bb0127b2eb0f3cb2992e4
|
7
|
+
data.tar.gz: d4b64d28608e1554c8a6f26eff137809e2ad0bdca93a6adbd819b205d863f8957c4b61352da12edb92e4281b304d578112f6e7a213d72bac155741db91e7ccdc
|
data/lib/hiera-examiner.rb
CHANGED
@@ -83,7 +83,7 @@ class HieraExaminer
|
|
83
83
|
end
|
84
84
|
res += "#{padding}#{yamlVal}"
|
85
85
|
if (newVal.index(startExp))
|
86
|
-
res += "\n#{explainDetail(newVal, prefix)}"
|
86
|
+
res += "\n#{explainDetail(newVal, scope, prefix)}"
|
87
87
|
end
|
88
88
|
|
89
89
|
return res
|
@@ -97,9 +97,9 @@ class HieraExaminer
|
|
97
97
|
return 'MISSING'.magenta.blink
|
98
98
|
elsif (yamlVal.index(startExp))
|
99
99
|
if (showSource)
|
100
|
-
res = explainDetail(yamlVal, "#{prefix}|", true, yamlFile)
|
100
|
+
res = explainDetail(yamlVal, scope, "#{prefix}|", true, yamlFile)
|
101
101
|
else
|
102
|
-
res = explainDetail(yamlVal, "#{prefix}|")
|
102
|
+
res = explainDetail(yamlVal, scope, "#{prefix}|")
|
103
103
|
end
|
104
104
|
res = "|\n#{res}\n#{hieraVal.green}"
|
105
105
|
return res
|