knife-hp 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -7,12 +7,15 @@ This is a list of features currently lacking and (eventually) under development:
7
7
  * Show the flavor and image names in `hp server list`
8
8
  * Validate ohai cloud support (waiting on OHAI-425)
9
9
 
10
+ ## v0.3.1
11
+ * KNIFE-309 knife hp server list fails with nil image
12
+
10
13
  ## v0.3.0
11
14
  * update dependency on to Fog 1.10.0
12
15
  * switched back to hp_access_key from hp_account_id since it's fixed in Fog 1.10.0
13
16
  * remove support for floating IPs since they're no longer needed, reported by Simon McCartney and Rupak Ganguly
14
17
  * 'delay-loading' changes to reduce load-time (Mohit Sethi)
15
- * added 'knife hp group list' for listing security groups and their rules (KNIFE-227)
18
+ * KNIFE-227 added 'knife hp group list' for listing security groups and their rules
16
19
  * filter out extraneous images from knife hp image list (requires HP metadata not yet available)
17
20
 
18
21
  ## v0.2.0
@@ -43,12 +43,18 @@ class Chef
43
43
  ]
44
44
  connection.servers.all.sort_by(&:id).each do |server|
45
45
  Chef::Log.debug("Server: #{server.to_yaml}")
46
+ # require 'pry'
47
+ # binding.pry
46
48
  server_list << server.id.to_s
47
49
  server_list << server.name
48
50
  server_list << (server.public_ip_address or "")
49
51
  server_list << (server.private_ip_address or "")
50
52
  server_list << server.flavor['id'].to_s
51
- server_list << server.image['id'].to_s
53
+ if server.image
54
+ server_list << server.image['id']
55
+ else
56
+ server_list << ""
57
+ end
52
58
  server_list << (server.key_name or "")
53
59
  server_list << begin
54
60
  state = server.state.to_s.downcase
@@ -1,6 +1,6 @@
1
1
  module Knife
2
2
  module Hp
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  MAJOR, MINOR, TINY = VERSION.split('.')
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-hp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-03-07 00:00:00.000000000 Z
13
+ date: 2013-06-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: fog
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  version: '0'
90
90
  requirements: []
91
91
  rubyforge_project:
92
- rubygems_version: 1.8.24
92
+ rubygems_version: 1.8.25
93
93
  signing_key:
94
94
  specification_version: 3
95
95
  summary: HP Cloud Services Cloud support for Chef's Knife command