opzworks 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/opzworks/commands/include/elastic.rb +3 -3
- data/lib/opzworks/meta.rb +1 -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: 6c18a9837e56cadee69ce3d380874f07ab284103
|
4
|
+
data.tar.gz: 8905668351c58b958be1eda5f3c0a054df805403
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e618a7577ff67deca250c1147123dfec1341510cba1d44f5098d5c6794df1f8d56794fa293aa971fc75d92011f4021be5d4bbb706d816c5c5ebec18eb0a059a8
|
7
|
+
data.tar.gz: 1d2f6ddbb8b0fbdec84d9f010b072093523449d061d42e7e62893382ea9ac1d34a2a4e042639f26c846e89679ec0ccc54b628158bc193922ae8bb0ddec37ed80
|
@@ -35,7 +35,7 @@ def es_get_input(input, data = {}, *cmd)
|
|
35
35
|
STDOUT.print 'Disable shard allocation before starting? (true/false, default is true): '.foreground(:blue)
|
36
36
|
disable_allocation = STDIN.gets.chomp
|
37
37
|
@disable_shard_allocation = case disable_allocation
|
38
|
-
when false
|
38
|
+
when 'false'
|
39
39
|
false
|
40
40
|
else
|
41
41
|
true
|
@@ -72,7 +72,7 @@ def es_enable_allocation(ip, type)
|
|
72
72
|
end
|
73
73
|
break
|
74
74
|
rescue StandardError => e
|
75
|
-
puts 'Caught exception while trying to change allocation state: '.foreground(:yellow) + e.foreground(:red) + ', looping around...'.foreground(:yellow) if count == 0
|
75
|
+
puts 'Caught exception while trying to change allocation state: '.foreground(:yellow) + e.to_s.foreground(:red) + ', looping around...'.foreground(:yellow) if count == 0
|
76
76
|
count += 1
|
77
77
|
sleep 1
|
78
78
|
end
|
@@ -112,7 +112,7 @@ def es_wait_for_status(ip, color)
|
|
112
112
|
end
|
113
113
|
json = JSON.parse response.body
|
114
114
|
rescue StandardError => e
|
115
|
-
puts 'Caught exception while trying to check cluster status: '.foreground(:yellow) + e.foreground(:red) + ', looping around...'.foreground(:yellow) if rescue_count == 0
|
115
|
+
puts 'Caught exception while trying to check cluster status: '.foreground(:yellow) + e.to_s.foreground(:red) + ', looping around...'.foreground(:yellow) if rescue_count == 0
|
116
116
|
rescue_count += 1
|
117
117
|
printf '.'
|
118
118
|
sleep 1
|
data/lib/opzworks/meta.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opzworks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Grant Heffernan
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-01-
|
12
|
+
date: 2016-01-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk
|