proboscis_cli 0.0.9 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/proboscis_cli.rb +5 -3
- data/lib/proboscis_cli/version.rb +1 -1
- data/proboscis_cli.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5840c0c18402852bb98c40cf7f197421efde9782d16086145597d5bf4f95888e
|
4
|
+
data.tar.gz: 8d79311402a8cfaccc6e386789c0ad9df0b932aee2dbb94741aa18ee39a12c93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03cf8eb0a43d393cfe82e8eaed6aa5bf9466193b3ebeb45d4a197f42d87dcd277a0f36b9bc6f1f14dfbc1582b627a3b5acdb3cc4d2cb11a9ed72a72237ba1236
|
7
|
+
data.tar.gz: 9272ef301098306bb369cc95c1b2a2774182ac154ca1ff4249116b517075a3b3e0603095fa4256055567e822c8aeb684bc24762b205366c0afbef83c06fd367c
|
data/lib/proboscis_cli.rb
CHANGED
@@ -94,6 +94,7 @@ end
|
|
94
94
|
class CashWorker < Worker
|
95
95
|
def self.worker_ip(subpath)
|
96
96
|
key = "#{subpath.gsub('_', '-')}_WORKER_IP"
|
97
|
+
puts @infra_info
|
97
98
|
if(!@infra_info[key])
|
98
99
|
puts "Unable to find target WORKER_IP in #{@infra_info}. Is the machine up?"
|
99
100
|
end
|
@@ -127,10 +128,11 @@ class Proboscis
|
|
127
128
|
end
|
128
129
|
|
129
130
|
def self.get_machine(target, type)
|
130
|
-
|
131
|
-
|
132
|
-
else
|
131
|
+
puts type
|
132
|
+
if type == 'CASH_REPLENISHMENT'
|
133
133
|
target == 'server' ? CashServer : CashWorker
|
134
|
+
else
|
135
|
+
target == 'server' ? Server : Worker
|
134
136
|
end
|
135
137
|
end
|
136
138
|
|
data/proboscis_cli.gemspec
CHANGED