canzea 0.1.110 → 0.1.111
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/canzea/version.rb +1 -1
- data/lib/commands/register-metadata.rb +8 -1
- data/lib/plan-step-class.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14d8114c31281c0745ef2fb160f75761176a49cd
|
4
|
+
data.tar.gz: 6162b9cf7f0909805792c502612925ef6ce3b466
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e653be4599679184888fa0e9bb7d968a95d7165a7734c3fb0df4006484114535c28ee3a5d0227c2d56022f2d4e2c947629859a22c270ce0d728d399b9347062c
|
7
|
+
data.tar.gz: 9ec00aa5b58c67f0644bb49e310efa8a2b24518a7a66a3ad620a59eb9e1637285a590d33971247f51f258f47e1515539ef9d480d799f858e54910a8a4cc30f43
|
data/lib/canzea/version.rb
CHANGED
@@ -41,7 +41,14 @@ class RegisterMetadata
|
|
41
41
|
if (md['services'].size() > 0)
|
42
42
|
svc = md['services'][0]
|
43
43
|
|
44
|
-
adef = {
|
44
|
+
adef = {
|
45
|
+
"listener"=>svc['listener'],
|
46
|
+
"name" => "#{svc['name']}",
|
47
|
+
"id" => "#{ENV['HOSTNAME']}-#{svc['name']}",
|
48
|
+
"tags"=>[ item['role'] ],
|
49
|
+
"port"=>svc['port']
|
50
|
+
}
|
51
|
+
|
45
52
|
if (svc.has_key? "checks")
|
46
53
|
adef[:check] = svc['checks'][0]
|
47
54
|
end
|
data/lib/plan-step-class.rb
CHANGED