knife-joyent 0.3.2 → 0.3.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: 247a86c793cb2861ff77a2ad29d353b6c3d01ad1
4
+ data.tar.gz: 244005da9f1c897bbebaa8c51f61dc9e6f03ad83
5
+ SHA512:
6
+ metadata.gz: b8f3db565f2bc424673cd09915e7f4e12b98bf66f0ca35e9fe8ed5186c1249ef26b745fbedd0f00d322092385b4b99d3c865e9e847980f723ee8ea38789e9d12
7
+ data.tar.gz: c8b6602ba20877f04f47381efe39ab9fa5db8a98be9db42438aa7cd7bbefbdd17ae2febedae7a6bf17142296ec849e08207c4581465485fe4d53f4eb97bc352f
@@ -187,6 +187,7 @@ class Chef
187
187
 
188
188
  puts ui.color("Waiting for SSH to come up on: #{bootstrap_ip}", :cyan)
189
189
  tcp_test_ssh(bootstrap_ip)
190
+ sleep 10
190
191
 
191
192
  bootstrap_for_node(server, bootstrap_ip).run
192
193
 
@@ -256,7 +257,7 @@ class Chef
256
257
  if server_ips.count === 1
257
258
  server_ips.first
258
259
  else
259
- if config[:private_network]
260
+ if server_ips.all? {|ip| is_private(ip)} || config[:private_network]
260
261
  server_ips.find{|ip| is_private(ip)}
261
262
  else
262
263
  server_ips.find{|ip| not is_private(ip)}
@@ -31,7 +31,7 @@ class Chef
31
31
  when "success" then
32
32
  ui.color(s.state, :green)
33
33
  else
34
- ui.color(s.state, :red)
34
+ ui.color(s.state.to_s, :red)
35
35
  end
36
36
  snapshots << s.created.to_s
37
37
  end
@@ -1,3 +1,3 @@
1
1
  module KnifeJoyent
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-joyent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
5
- prerelease:
4
+ version: 0.3.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Kevin Chan
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-07-04 00:00:00.000000000 Z
11
+ date: 2013-08-14 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: fog
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: multi_json
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -46,17 +41,15 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: chef
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: 0.10.10
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: 0.10.10
62
55
  description: Joyent CloudAPI Support for Chef's Knife Command
@@ -101,26 +94,26 @@ files:
101
94
  - lib/knife-joyent/version.rb
102
95
  homepage: https://github.com/kevinykchan/knife-joyent
103
96
  licenses: []
97
+ metadata: {}
104
98
  post_install_message:
105
99
  rdoc_options: []
106
100
  require_paths:
107
101
  - lib
108
102
  required_ruby_version: !ruby/object:Gem::Requirement
109
- none: false
110
103
  requirements:
111
- - - ! '>='
104
+ - - '>='
112
105
  - !ruby/object:Gem::Version
113
106
  version: '0'
114
107
  required_rubygems_version: !ruby/object:Gem::Requirement
115
- none: false
116
108
  requirements:
117
- - - ! '>='
109
+ - - '>='
118
110
  - !ruby/object:Gem::Version
119
111
  version: '0'
120
112
  requirements: []
121
113
  rubyforge_project:
122
- rubygems_version: 1.8.25
114
+ rubygems_version: 2.0.5
123
115
  signing_key:
124
- specification_version: 3
116
+ specification_version: 4
125
117
  summary: Joyent CloudAPI Support for Chef's Knife Command
126
118
  test_files: []
119
+ has_rdoc: true