chefdepartie 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chefdepartie/server.rb +4 -2
- data/lib/chefdepartie/version.rb +1 -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: 38e52a15bc2adf38113ca9ad2307963e3dda5358
|
4
|
+
data.tar.gz: 18d8bd00c5ec94565fecd8960b7c42a13844b36e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b29bd2e022d1133666373da690dd514426949a0f10da7a4ff6ffba978efd05571478ab186d4e84eeae4e96490e7b3c2f118dd410fcf2cab6f357ac7f46195107
|
7
|
+
data.tar.gz: 3f8c713e0310fe74d26e90f5829937c7892af15fe9f6aeb6e03f7bbfefae2dcedaa0c8dd6ece973941a28453e71126607dc59151d3ffd86a114d0920453f398c
|
data/lib/chefdepartie/server.rb
CHANGED
@@ -51,8 +51,10 @@ module Chefdepartie
|
|
51
51
|
@background = kwargs[:background]
|
52
52
|
@cache = kwargs[:cache]
|
53
53
|
|
54
|
-
|
55
|
-
|
54
|
+
uri = URI(Chef::Config[:chef_server_url])
|
55
|
+
host = '0.0.0.0'
|
56
|
+
host = '127.0.0.1' if (uri.host == '127.0.0.1' || uri.host == 'localhost') # listen on everything unless explicitly localhost.
|
57
|
+
@opts = { host: host, port: uri.port }
|
56
58
|
@opts.merge!(data_store: Cache.setup(@cache)) if @cache
|
57
59
|
end
|
58
60
|
|
data/lib/chefdepartie/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chefdepartie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dale Hamel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef
|