hiera-router 0.5.10 → 0.5.11

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: 17ba29a01d4226281938b07f85b5973dc7e76fbb
4
- data.tar.gz: a46e54231411bb3abc9ee04056829b6980306b1e
3
+ metadata.gz: 429cb74408c1a023606e8bc6f2ec16e882debfb4
4
+ data.tar.gz: b2ae691c533430e8dbc79aa450bdb048bde1dffd
5
5
  SHA512:
6
- metadata.gz: '08cd5b7cb6488a045fab6d6084d0d0efd24f5f6ec4853fdbb87ea9b83baa2d1cefaf2730d2f40ce0f747dd87828a4e009e7999de064e1f76c55c85478b12e404'
7
- data.tar.gz: 2d38a2669a76b0ec392278a0818e9c88c9a570d63dbaf6d0e49695c9e7e7e8b957c6f2e4a52f492ba5bc23540aaadf2eccf35678f24c23378ed36ae3b86a35c1
6
+ metadata.gz: dad90d90d933d867f370fa774bcc983339dd2b882472eaf4ac95e61bf26dea4cb8f05c825cbd181683fb034fa4cf86d26fbffffc71bb33ab333c01fe6b28664e
7
+ data.tar.gz: 76ae9795361a598cef66b5e80dee39571368995d7a57a27886aa78ecb2dab793369676d6871d78491ffb6e2c56588ecb7f1e1de56196c2058304cf8725edec53
@@ -24,7 +24,7 @@ class Hiera
24
24
  @backends = {}
25
25
  Hiera.debug("[hiera-router] I'm here!")
26
26
  self.config = Config.config
27
- self.config[:hierarchy] = Config[:router][:paths] if Config[:router][:paths] and self.config[:hierarchy].empty?
27
+ self.config[:hierarchy] = Config[:router][:paths] if Config[:router][:paths]
28
28
 
29
29
  if backend_list = Config[:router][:backends]
30
30
  Hiera.debug("[hiera-router] Initializing backends: #{backend_list.keys.join(',')}")
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.5.10
4
+ version: 0.5.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jo Vandeginste
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-06-29 00:00:00.000000000 Z
12
+ date: 2017-06-30 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: |
15
15
  This hiera backend replaces the default yaml backend, but will resend queries to other hiera backends based on the value returned by the yaml files.