hiera-router 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 23ddc324f83331269bb3a1094b7dfec4cf4e6e4c
4
- data.tar.gz: febfd0d7e2e3b27ba707a0eed8fd0a54d5430c64
3
+ metadata.gz: e432ecbc1699558863fe2ee1c50ee7e70b696521
4
+ data.tar.gz: 2b6a287868b7d7691fad3532c9dcbdfb9ed92705
5
5
  SHA512:
6
- metadata.gz: f141b96ace35cc4cfa8d399cb3f9ab2ba330b8440cbc5d0f6f32d660dccaa71a192e55428c4035b9a2a62722d31cf2b561b05bd134de676844ab41a92961960a
7
- data.tar.gz: dc1df06ff96f38e51da6fda0b66432914a26bc8d0595186a2e9dd557bf1e2fbc05ba07757316c6d36fd6a075f8d4ea8ccf957f01314274f3ca1c5bf75533f7c1
6
+ metadata.gz: 9d4059262fab1f188e5952274e90879116619c4616189a9f850b87a71bf3b44cc3372d3b7a579002bb9ecd942222131a5b5753adb9aee436ab5757b4158904e4
7
+ data.tar.gz: cbdcd2786b2d33e66b91ea5479e8ea79a99026b13394f8b738aa8cb5c5a82570618a8f8f977881488dbc701ef655f96a06a018c44ce3a82f937848d692541655
@@ -96,8 +96,8 @@ class Hiera
96
96
  if backend = backends[backend_name]
97
97
  result = backend.lookup(backend_options[:key], backend_options[:scope], nil, backend_options[:resolution_type])
98
98
  else
99
- Hiera.warn "Backend '#{backend_name}' was not configured."
100
- result = nil
99
+ Hiera.warn "Backend '#{backend_name}' was not configured; returning the data as-is."
100
+ result = data
101
101
  end
102
102
  Hiera.debug "Call to '#{backend_name}' finished."
103
103
  return result
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.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jo Vandeginste