hiera-examiner 0.3.9 → 0.3.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hiera-examiner.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8143db08fd0d244cac3edcc9cccb32deea1c708a
4
- data.tar.gz: 2c5ae4351263e1ef23507a3ca897b13b28bffe3b
3
+ metadata.gz: 1d8642f259cc44a9fc599036f27c94763a45c2e1
4
+ data.tar.gz: 2a5b7ac3445889b640737426bb0f68d9476cbb50
5
5
  SHA512:
6
- metadata.gz: 3909058fac23dcff424c4dd4059767e920630d0f5cf54ea3705843f7fba28141b1e3be244cf42235d86e4954c3bd469f171bb2c7caee48c951aa08b93b1b487e
7
- data.tar.gz: 2545f599ec929df82837747a8036eaf599602dc3021912e6e3c8ca1e5b4d880ab58f34bbd3cac4c3bdcc4b9fda01400096be17ccd013f9dfaaa24538a572a547
6
+ metadata.gz: ea5b1e07f86eccd94421adaeb341fb80de4d347e503cf1e0cb36d85ffef0c736aa0f07cbc5b9f85553c61cd2b0a07f0b30a4d2e56a994103d001f673813a9e34
7
+ data.tar.gz: e0203f8639de65af194f001d9320a78a6cdef14f3ae734a3851828f42263779fb2f449dd80e496ad01bc445bed5c3a7877b332af96b0001e27418e9a3fcaa013
@@ -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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hiera-examiner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.9
4
+ version: 0.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Stortz