torpedo 1.0.14 → 1.0.15
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/VERSION +1 -1
- data/lib/torpedo/compute/helper.rb +6 -1
- metadata +4 -4
data/CHANGELOG
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.15
|
@@ -17,13 +17,18 @@ module Helper
|
|
17
17
|
debug = true
|
18
18
|
end
|
19
19
|
|
20
|
+
auth_method = 'password'
|
21
|
+
if ENV['NOVA_RAX_AUTH'] and ENV['NOVA_RAX_AUTH'] == '1' then
|
22
|
+
auth_method = 'rax-kskey'
|
23
|
+
end
|
24
|
+
|
20
25
|
auth_url = ENV['NOVA_URL'] || ENV['OS_AUTH_URL']
|
21
26
|
api_key = ENV['NOVA_API_KEY'] || ENV['OS_PASSWORD']
|
22
27
|
username = ENV['NOVA_USERNAME'] || ENV['OS_USERNAME']
|
23
28
|
authtenant = ENV['NOVA_PROJECT_ID'] || ENV['OS_TENANT_NAME']
|
24
29
|
region = ENV['NOVA_REGION_NAME'] || ENV['OS_AUTH_REGION']
|
25
30
|
|
26
|
-
OpenStack::Compute::Connection.new(:username => username, :api_key => api_key, :auth_url => auth_url, :region => region, :authtenant => authtenant, :is_debug => debug)
|
31
|
+
OpenStack::Compute::Connection.new(:username => username, :api_key => api_key, :auth_url => auth_url, :region => region, :authtenant => authtenant, :is_debug => debug, :auth_method => auth_method)
|
27
32
|
end
|
28
33
|
|
29
34
|
def self.get_image_ref(conn)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: torpedo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 9
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 15
|
10
|
+
version: 1.0.15
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dan Prince
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-03-16 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
requirement: &id001 !ruby/object:Gem::Requirement
|