knife-hp 0.4.0 → 0.4.2rc1

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: 6ca297b8510a9fa6d1f04eca08ca44e22f90e1c3
4
+ data.tar.gz: ad8cd42af917f9af3c418229be4efc1e30eb6edd
5
+ SHA512:
6
+ metadata.gz: f3b2ca37ce0dd4a7d3f0d45074b99f990b10527456d9c2d81504f5998c7549adce3b9232072c9e8df1cba2fd14c2d668d8428a36304f836542c98916e948a228
7
+ data.tar.gz: c0ed9136a3839e3ad59ff43f182afb4d1849c13847d798f29dff355a53ae12f2ba6e3b2f12dcced51d35ec9ee3f38dc4cde451ad942ca4b5f9b3c6fe519ed786
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## v0.4.2rc1
2
+ * Updated the README.md to reflect the new names of the regions
3
+ * Fixed the defaulting to the US-West region
4
+
1
5
  ## v0.4.0
2
6
  * Upgrade to support 13.5 HP Helion Public Cloud Services. For more information check https://docs.hpcloud.com/migration-overview/
3
7
  * KNIFE-444 knife-hp incompatible with hpcloud v13.5
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  Knife HP
2
2
  ========
3
3
 
4
- This is the official Opscode Knife plugin for HP Helion Public Cloud Compute. This plugin gives knife the ability to create, bootstrap and manage instances in the HP Public Cloud 13.5 and later. You may need to go to https://horizon.hpcloud.com and enable Compute under "Activate Services" for the Availability Zones you wish to use. To properly configure your networks (include a router for external access), please refer to https://docs.hpcloud.com/hpcloudconsole.
4
+ This is the official Opscode Knife plugin for HP Helion Public Cloud Compute. This plugin gives knife the ability to create, bootstrap and manage instances in the HP Public Cloud 13.5 and later. You may need to go to https://horizon.hpcloud.com and enable Compute under "Activate Services" for the Region you wish to use. (As of this most recent release [US-West is only supported](https://github.com/fog/fog/issues/3152), but you still have to activate the service) To properly configure your networks (include a router for external access), please refer to https://docs.hpcloud.com/hpcloudconsole.
5
5
 
6
6
  If you are still using the older version of the API, you may need version 0.3.1 of this plugin, HP's migration and upgrade instructions are here: https://docs.hpcloud.com/migration-overview-reference/.
7
7
 
@@ -27,7 +27,7 @@ In order to communicate with HP Helion Compute Cloud's API you will need to tell
27
27
  knife[:hp_secret_key] = "Your HP Cloud Secret Key"
28
28
  knife[:hp_tenant_id] = "Your HP Cloud Tenant ID"
29
29
  knife[:hp_auth_uri] = "Your HP Cloud Auth URI" (optional, default is 'https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/')
30
- knife[:hp_avl_zone] = "Your HP Cloud Availability Zone" (optional, default is 'region-a.geo-1', the other option is 'region-b.geo-1').
30
+ knife[:hp_avl_zone] = "Your HP Cloud Availability Zone" (optional, default is 'us-west', the other option is 'us-east')
31
31
 
32
32
  If your knife.rb file will be checked into a SCM system (ie readable by others) you may want to read the values from environment variables:
33
33
 
@@ -43,7 +43,7 @@ You also have the option of passing your HP Cloud API options from the command l
43
43
  `-K` (or `--hp-secret`) your HP Cloud Secret Key
44
44
  `-T` (or `--hp-tenant`) your HP Cloud Tenant ID
45
45
  `--hp-auth` your HP Cloud Auth URI (optional, default is 'https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/')
46
- `-Z` (or `--hp-zone`) your HP Cloud Availability Zone (optional, default is 'region-a.geo-1', the other option is 'region-b.geo-1')
46
+ `-Z` (or `--hp-zone`) your HP Cloud Availability Zone (optional, default is 'us-west', the other option is 'us-east')
47
47
 
48
48
  knife hp server create -A 'MyUsername' -K 'MyPassword' -T 'MyTenant' -f 101 -I 120 -S hpkeypair -i ~/.ssh/hpkeypair.pem -r 'role[webserver]'
49
49
 
@@ -133,12 +133,12 @@ class Chef
133
133
 
134
134
  def region()
135
135
  case locate_config_value(:hp_avl_zone)
136
- when 'us-west'
137
- Chef::Log.debug("hp_avl_zone: us-west->'region-a.geo-1'")
138
- return 'region-a.geo-1'
139
- else
136
+ when 'us-east'
140
137
  Chef::Log.debug("hp_avl_zone: us-east->'region-b.geo-1'")
141
138
  return 'region-b.geo-1'
139
+ else
140
+ Chef::Log.debug("hp_avl_zone: us-west->'region-a.geo-1'")
141
+ return 'region-a.geo-1'
142
142
  end
143
143
  end
144
144
 
@@ -1,6 +1,6 @@
1
1
  module Knife
2
2
  module Hp
3
- VERSION = "0.4.0"
3
+ VERSION = "0.4.2rc1"
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-hp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
5
- prerelease:
4
+ version: 0.4.2rc1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Matt Ray
@@ -10,38 +9,34 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2014-05-24 00:00:00.000000000 Z
12
+ date: 2014-09-25 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: fog
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ! '>='
18
+ - - ">="
21
19
  - !ruby/object:Gem::Version
22
20
  version: '1.20'
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ! '>='
25
+ - - ">="
29
26
  - !ruby/object:Gem::Version
30
27
  version: '1.20'
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: chef
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ! '>='
32
+ - - ">="
37
33
  - !ruby/object:Gem::Version
38
34
  version: '11.0'
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
- - - ! '>='
39
+ - - ">="
45
40
  - !ruby/object:Gem::Version
46
41
  version: '11.0'
47
42
  description: HP Cloud Services Cloud support for Chef's Knife command
@@ -54,7 +49,7 @@ extra_rdoc_files:
54
49
  - README.md
55
50
  - LICENSE
56
51
  files:
57
- - .gitignore
52
+ - ".gitignore"
58
53
  - CHANGELOG.md
59
54
  - Gemfile
60
55
  - LICENSE
@@ -72,26 +67,25 @@ files:
72
67
  - lib/knife-hp/version.rb
73
68
  homepage: https://github.com/opscode/knife-hp
74
69
  licenses: []
70
+ metadata: {}
75
71
  post_install_message:
76
72
  rdoc_options: []
77
73
  require_paths:
78
74
  - lib
79
75
  required_ruby_version: !ruby/object:Gem::Requirement
80
- none: false
81
76
  requirements:
82
- - - ! '>='
77
+ - - ">="
83
78
  - !ruby/object:Gem::Version
84
79
  version: '0'
85
80
  required_rubygems_version: !ruby/object:Gem::Requirement
86
- none: false
87
81
  requirements:
88
- - - ! '>='
82
+ - - ">"
89
83
  - !ruby/object:Gem::Version
90
- version: '0'
84
+ version: 1.3.1
91
85
  requirements: []
92
86
  rubyforge_project:
93
- rubygems_version: 1.8.23.2
87
+ rubygems_version: 2.2.2
94
88
  signing_key:
95
- specification_version: 3
89
+ specification_version: 4
96
90
  summary: HP Cloud Services Cloud support for Chef's Knife command
97
91
  test_files: []