jerakia 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/backend/jerakia_backend.rb +2 -2
- data/lib/jerakia/cli.rb +1 -1
- data/lib/jerakia/version.rb +1 -1
- data/lib/jerakia.rb +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c41114e6bd23299a7a2a24837a973638ed1f95d5
|
4
|
+
data.tar.gz: baa4ae57eb934247c0e261b1d92d036ac8eb5287
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3398f530150e3a6b1274ff118c6afffee3948aeab02c59bfc3bb90be8f759d12976e6b5da7f9fe8de836c38fcdc1010cb4a80692f8eed2808c6eb5d56a6ed7d5
|
7
|
+
data.tar.gz: 592fc7e0890afc275c3bef12171dbb8edee4df2303955de7706812f9b8fc448b8c08877f8a9bce3a83a387672130ff0cdd50e9be16974ea136f31859e45d624a
|
@@ -27,8 +27,8 @@ class Hiera
|
|
27
27
|
|
28
28
|
if key.include?('::')
|
29
29
|
lookup_key = key.split('::')
|
30
|
-
|
31
|
-
|
30
|
+
key = lookup_key.pop
|
31
|
+
namespace = lookup_key
|
32
32
|
end
|
33
33
|
|
34
34
|
Jerakia.log.debug("[hiera] backend invoked for key #{key} using namespace #{namespace}")
|
data/lib/jerakia/cli.rb
CHANGED
@@ -8,7 +8,6 @@ class Jerakia
|
|
8
8
|
option :config,
|
9
9
|
aliases: :c,
|
10
10
|
type: :string,
|
11
|
-
default: '/etc/jerakia/jerakia.yaml',
|
12
11
|
desc: 'Configuration file'
|
13
12
|
option :policy,
|
14
13
|
aliases: :p,
|
@@ -18,6 +17,7 @@ class Jerakia
|
|
18
17
|
option :namespace,
|
19
18
|
aliases: :n,
|
20
19
|
type: :string,
|
20
|
+
default: '',
|
21
21
|
desc: 'Lookup namespace'
|
22
22
|
option :type,
|
23
23
|
aliases: :t,
|
data/lib/jerakia/version.rb
CHANGED
data/lib/jerakia.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jerakia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Craig Dunn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|