gaptool-client 0.6.14 → 0.6.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/gaptool-client.rb +8 -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: fac8dcd0ec8402c3f96b59cf6e5ebb0693682deb
|
4
|
+
data.tar.gz: 69ee23014877681f163ab714cbcf8d2b31b744d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: debe75218d4340e2f49bfc39ab40f4fbee4feec2ab9e01e937ac95ae764280c9573cb5377e0eb726a373263b5cb685507f4d02be9059b65e2ac60c9598adeaeb
|
7
|
+
data.tar.gz: 363971d93fc824a1c69d41bea7b551eff91c8fd423959e4f4d22134fa7688a8af7f2f2cdcf71c92597ef6873a23591f2082f88f269a0e0431e6acf966a0f70d1
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.15
|
data/lib/gaptool-client.rb
CHANGED
@@ -297,12 +297,19 @@ module Gaptool
|
|
297
297
|
nodes = $api.getappnodes(app, environment)
|
298
298
|
end
|
299
299
|
nodes.peach do |node|
|
300
|
+
if node['chef_runlist'].nil?
|
301
|
+
runlist = ['recipe[deploy]']
|
302
|
+
elsif node['chef_runlist'].is_a? Array
|
303
|
+
runlist = node['chef_runlist']
|
304
|
+
else
|
305
|
+
runlist = eval(node['chef_runlist'])
|
306
|
+
end
|
300
307
|
json = {
|
301
308
|
'this_server' => "#{node['role']}-#{environment}-#{node['instance']}",
|
302
309
|
'role' => node['role'],
|
303
310
|
'environment' => environment,
|
304
311
|
'app_user' => node['appuser'],
|
305
|
-
'run_list' =>
|
312
|
+
'run_list' => runlist,
|
306
313
|
'hostname' => node['hostname'],
|
307
314
|
'instance' => node['instance'],
|
308
315
|
'zone' => node['zone'],
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gaptool-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francesco Laurita
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-12-
|
13
|
+
date: 2014-12-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: json
|