knife-rackspace 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0c27aa6880a3defaf46a9f2d3382070572d612ff
4
+ data.tar.gz: 80a1025bd9224abb93fc434de50c6b8c100e0b11
5
+ SHA512:
6
+ metadata.gz: 250232e5118c207910a0c5de1774f128950dbfe56bc4b31e4fff008001438786529b5aac929e3e728546169be23a712f0ac2862cdb5254964dad751d7b6d7edd
7
+ data.tar.gz: 374b3f76f8a0b5ce7ab6eaa1a678da8a8cd037a756dd636391511f2f83f804821336c0d986956cc562b015d7e2be3f3b4ffd9802f037483386069bba27bd8e80
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## v0.9.3
2
+ * KNIFE-497 Create server command does not honor timeout parameter
3
+
1
4
  ## v0.9.2
2
5
  * KNIFE-480 Add support for user-data
3
6
  * --secret-file support for bootstrap
@@ -188,9 +188,9 @@ class Chef
188
188
 
189
189
  option :server_create_timeout,
190
190
  :long => "--server-create-timeout timeout",
191
- :description => "How long to wait until the server is ready; default is 600 seconds",
192
- :default => 600,
193
- :proc => Proc.new { |v| Chef::Config[:knife][:server_create_timeouts] = v}
191
+ :description => "How long to wait until the server is ready; default is 1200 seconds",
192
+ :default => 1200,
193
+ :proc => Proc.new { |v| Chef::Config[:knife][:server_create_timeout] = v}
194
194
 
195
195
  option :bootstrap_proxy,
196
196
  :long => "--bootstrap-proxy PROXY_URL",
@@ -371,7 +371,7 @@ class Chef
371
371
 
372
372
  # wait for it to be ready to do stuff
373
373
  begin
374
- server.wait_for(1200) {
374
+ server.wait_for(Integer(locate_config_value(:server_create_timeout))) {
375
375
  print ".";
376
376
  Chef::Log.debug("#{progress}%")
377
377
  if rackconnect_wait and rackspace_servicelevel_wait
@@ -402,9 +402,6 @@ class Chef
402
402
 
403
403
  print "\n#{ui.color("Waiting server", :magenta)}"
404
404
 
405
- server.wait_for(Integer(locate_config_value(:server_create_timeout))) { print "."; ready? }
406
- # wait for it to be ready to do stuff
407
-
408
405
  puts("\n")
409
406
 
410
407
  msg_pair("Public DNS Name", public_dns_name(server))
@@ -1,6 +1,6 @@
1
1
  module Knife
2
2
  module Rackspace
3
- VERSION = '0.9.2'
3
+ VERSION = '0.9.3'
4
4
  MAJOR, MINOR, TINY = VERSION.split('.')
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-rackspace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
5
- prerelease:
4
+ version: 0.9.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Adam Jacob
@@ -11,118 +10,104 @@ authors:
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2014-05-10 00:00:00.000000000 Z
13
+ date: 2014-06-14 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: knife-windows
18
17
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
18
  requirements:
21
- - - ! '>='
19
+ - - ">="
22
20
  - !ruby/object:Gem::Version
23
21
  version: '0'
24
22
  type: :runtime
25
23
  prerelease: false
26
24
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
25
  requirements:
29
- - - ! '>='
26
+ - - ">="
30
27
  - !ruby/object:Gem::Version
31
28
  version: '0'
32
29
  - !ruby/object:Gem::Dependency
33
30
  name: fog
34
31
  requirement: !ruby/object:Gem::Requirement
35
- none: false
36
32
  requirements:
37
- - - ! '>='
33
+ - - ">="
38
34
  - !ruby/object:Gem::Version
39
35
  version: '1.22'
40
36
  type: :runtime
41
37
  prerelease: false
42
38
  version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
39
  requirements:
45
- - - ! '>='
40
+ - - ">="
46
41
  - !ruby/object:Gem::Version
47
42
  version: '1.22'
48
43
  - !ruby/object:Gem::Dependency
49
44
  name: chef
50
45
  requirement: !ruby/object:Gem::Requirement
51
- none: false
52
46
  requirements:
53
- - - ! '>='
47
+ - - ">="
54
48
  - !ruby/object:Gem::Version
55
49
  version: 0.10.10
56
50
  type: :runtime
57
51
  prerelease: false
58
52
  version_requirements: !ruby/object:Gem::Requirement
59
- none: false
60
53
  requirements:
61
- - - ! '>='
54
+ - - ">="
62
55
  - !ruby/object:Gem::Version
63
56
  version: 0.10.10
64
57
  - !ruby/object:Gem::Dependency
65
58
  name: rspec
66
59
  requirement: !ruby/object:Gem::Requirement
67
- none: false
68
60
  requirements:
69
- - - ! '>='
61
+ - - ">="
70
62
  - !ruby/object:Gem::Version
71
63
  version: '0'
72
64
  type: :development
73
65
  prerelease: false
74
66
  version_requirements: !ruby/object:Gem::Requirement
75
- none: false
76
67
  requirements:
77
- - - ! '>='
68
+ - - ">="
78
69
  - !ruby/object:Gem::Version
79
70
  version: '0'
80
71
  - !ruby/object:Gem::Dependency
81
72
  name: vcr
82
73
  requirement: !ruby/object:Gem::Requirement
83
- none: false
84
74
  requirements:
85
- - - ! '>='
75
+ - - ">="
86
76
  - !ruby/object:Gem::Version
87
77
  version: '0'
88
78
  type: :development
89
79
  prerelease: false
90
80
  version_requirements: !ruby/object:Gem::Requirement
91
- none: false
92
81
  requirements:
93
- - - ! '>='
82
+ - - ">="
94
83
  - !ruby/object:Gem::Version
95
84
  version: '0'
96
85
  - !ruby/object:Gem::Dependency
97
86
  name: ansi
98
87
  requirement: !ruby/object:Gem::Requirement
99
- none: false
100
88
  requirements:
101
- - - ! '>='
89
+ - - ">="
102
90
  - !ruby/object:Gem::Version
103
91
  version: '0'
104
92
  type: :development
105
93
  prerelease: false
106
94
  version_requirements: !ruby/object:Gem::Requirement
107
- none: false
108
95
  requirements:
109
- - - ! '>='
96
+ - - ">="
110
97
  - !ruby/object:Gem::Version
111
98
  version: '0'
112
99
  - !ruby/object:Gem::Dependency
113
100
  name: rake
114
101
  requirement: !ruby/object:Gem::Requirement
115
- none: false
116
102
  requirements:
117
- - - ! '>='
103
+ - - ">="
118
104
  - !ruby/object:Gem::Version
119
105
  version: '0'
120
106
  type: :development
121
107
  prerelease: false
122
108
  version_requirements: !ruby/object:Gem::Requirement
123
- none: false
124
109
  requirements:
125
- - - ! '>='
110
+ - - ">="
126
111
  - !ruby/object:Gem::Version
127
112
  version: '0'
128
113
  description: Rackspace Support for Chef's Knife Command
@@ -136,9 +121,9 @@ extra_rdoc_files:
136
121
  - README.rdoc
137
122
  - LICENSE
138
123
  files:
139
- - .chef/knife.rb
140
- - .gitignore
141
- - .travis.yml
124
+ - ".chef/knife.rb"
125
+ - ".gitignore"
126
+ - ".travis.yml"
142
127
  - CHANGELOG.md
143
128
  - Gemfile
144
129
  - LICENSE
@@ -165,27 +150,26 @@ files:
165
150
  - spec/unit/rackspace_base_spec.rb
166
151
  homepage: http://wiki.opscode.com/display/chef
167
152
  licenses: []
153
+ metadata: {}
168
154
  post_install_message:
169
155
  rdoc_options: []
170
156
  require_paths:
171
157
  - lib
172
158
  required_ruby_version: !ruby/object:Gem::Requirement
173
- none: false
174
159
  requirements:
175
- - - ! '>='
160
+ - - ">="
176
161
  - !ruby/object:Gem::Version
177
162
  version: '0'
178
163
  required_rubygems_version: !ruby/object:Gem::Requirement
179
- none: false
180
164
  requirements:
181
- - - ! '>='
165
+ - - ">="
182
166
  - !ruby/object:Gem::Version
183
167
  version: '0'
184
168
  requirements: []
185
169
  rubyforge_project:
186
- rubygems_version: 1.8.23.2
170
+ rubygems_version: 2.2.2
187
171
  signing_key:
188
- specification_version: 3
172
+ specification_version: 4
189
173
  summary: Rackspace Support for Chef's Knife Command
190
174
  test_files:
191
175
  - spec/cassettes/v1/should_list_images.yml