canzea 0.1.109 → 0.1.110

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: 4ff9a513705220c4c00ad9e961317295b7bed833
4
- data.tar.gz: 66c21e800e7ecaa2bb3191599776c1a506bc434f
3
+ metadata.gz: 4ecf41f9a3bddda3e7c7f281525c612db5ea5b38
4
+ data.tar.gz: ed48ea606387935364739bd6f035e4c26b34949a
5
5
  SHA512:
6
- metadata.gz: 3b5e33c9b1bc8879e1b7895c43621bae83f437a007a1a2f556fc2b92361e678468a6e117a89fd59fc983dadd3c47ae111b01bab79c5ee854037ae1ad7a1e6bbb
7
- data.tar.gz: 5e724a8e6aca2804986c07f40a8dcd67f33010543f74b42db694f3083a523cfc2730b9a7deb78f2138bc21adba689d1a66be81f8a7860150e05c3219e59f9e74
6
+ metadata.gz: d560c3a4a174e08faf9806b128c65d3619a860d4ef69bb021ff7c2479d6ffc1d0049fd1237746d7da08db8001db0a63c0fe0d96eada468d9e3e8193011e03492
7
+ data.tar.gz: 057ffe2adcab1fedc555c229e2c98c7677b8be0d5a6a5e78845eeae2ad14b66f0af1e34f772b4ef4fe0c0345100b8128f0965eb8538fff0758f1421d52c006c4
@@ -1,3 +1,3 @@
1
1
  module Canzea
2
- VERSION = "0.1.109"
2
+ VERSION = "0.1.110"
3
3
  end
@@ -88,7 +88,12 @@ class PlanStep
88
88
  if (md['services'].size() > 0)
89
89
  svc = md['services'][0]
90
90
 
91
- adef = {"listener"=>svc['listener'], "service" => "#{ENV['hostname']}-#{svc['name']}", "tags"=>[ item['role'] ], "port"=>svc['port']}
91
+ adef = {
92
+ "listener"=>svc['listener'],
93
+ "service" => "#{ENV['HOSTNAME']}-#{svc['name']}",
94
+ "tags"=>[ item['role'] ],
95
+ "port"=>svc['port']
96
+ }
92
97
  log "-- Registering #{svc['name']}"
93
98
  h = HelperRun.new false
94
99
  h.run "consul", "register_service", JSON.generate(adef)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canzea
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.109
4
+ version: 0.1.110
5
5
  platform: ruby
6
6
  authors:
7
7
  - Canzea Technologies
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-29 00:00:00.000000000 Z
11
+ date: 2017-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler