marathon-template 0.0.7 → 0.0.8

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: bdd4964070763e5f45f9584f345eaa18876a94f5
4
- data.tar.gz: 69f321dcd4e861f6b393f34637a922ce959b9066
3
+ metadata.gz: 77fe2d6c3ca6b3012424241494522beb2438014f
4
+ data.tar.gz: 4a9a4fd5d97b14461454026ddb9a4dbb832bdb8e
5
5
  SHA512:
6
- metadata.gz: 59bfa4c3a5c882ce24ad9531a919d4f07fc8d55dbee9e3e68e91f85f27054b405322976586b535179f3223a979c8a768c1733f7d70b986a03812a365394a3864
7
- data.tar.gz: 5e4d4c3d3ccbde1bb1ec70e9c0d7de49826605b16797c609dc4f6af7904d7dccf71331ed1abfa0bbf9bc3625935a8416e9657ee42b2c4ad0e3d45f676b047a9f
6
+ metadata.gz: 6c720a8d6835e2bb062a1bbe4e73e70da33c2136c5e64e3adf66faa339c502017471acf639f7a9bbd35fc915670c1cd1af92625345a7756f78cb06a9ff18d5fa
7
+ data.tar.gz: 0b091b7ea53f78509ed87fdbd8e87e00e155073db4cadba3776cb75f1f998251b8020f348ebfa90eeff3625bd92a30ca211f02a15429dd588af5d94aa3015ed6
@@ -59,7 +59,7 @@ module Marathon_template
59
59
  servers = get_servers(app_name)
60
60
  LOG.info "#{app_name}: #{servers}"
61
61
  servers.each do |host, port|
62
- f.write "\t#{app_name} #{host}:#{port.first} #{options}\n"
62
+ f.write "\tserver #{app_name}-#{host.split('_').last} #{host.split('_').first}:#{port.first} #{options}\n"
63
63
  end
64
64
  elsif values.kind_of?(Array)
65
65
  values.each do |value|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marathon-template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Malnick