hiera-redis 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/hiera/backend/redis_backend.rb +2 -2
- metadata +4 -4
@@ -2,7 +2,7 @@ class Hiera
|
|
2
2
|
module Backend
|
3
3
|
class Redis_backend
|
4
4
|
|
5
|
-
VERSION="0.1.
|
5
|
+
VERSION="0.1.2"
|
6
6
|
|
7
7
|
def initialize
|
8
8
|
|
@@ -11,7 +11,7 @@ class Hiera
|
|
11
11
|
|
12
12
|
# better error checking needed here?
|
13
13
|
path = Config[:redis][:path]
|
14
|
-
port = Config[:redis][:port] ||
|
14
|
+
port = Config[:redis][:port] || 6379
|
15
15
|
host = Config[:redis][:host] || '127.0.0.1'
|
16
16
|
|
17
17
|
if path.nil?
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hiera-redis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Adam Kosmin c/o Reliant Security, Inc.
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-03-
|
18
|
+
date: 2012-03-08 00:00:00 Z
|
19
19
|
dependencies: []
|
20
20
|
|
21
21
|
description: Allows hiera functions to pull data from a Redis database.
|