openstack_taster 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/openstack_taster +5 -6
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08fb46571309d679982539c6b13618b9c71af6cd0ca6e30ca0d9446fb3aa1a95'
|
4
|
+
data.tar.gz: 6dd3206584f42de09ee02873f77523871aa0a8f5b82affeea1e7a985248bde4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ccc7d4bbc1870cbded1ba627cd5ab0062ab89960ead59ada5b6b65f42db6f1b26ae1c002ab1ea68dc10e75659c5fbfb8d239b1bb52821ac7b23e2f7562aa5ef7
|
7
|
+
data.tar.gz: cc89bc6f07e0d3200c7e379f5034fe1f617aed669db8e482aa7d034e7190f330e756fa455da97a1ed11d1fec1ee1965bb8b8bf5077e5580c88c29924d67690b5
|
data/bin/openstack_taster
CHANGED
@@ -91,10 +91,9 @@ auth_url.freeze
|
|
91
91
|
|
92
92
|
OPENSTACK_CREDS = {
|
93
93
|
openstack_api_key: ENV['OS_PASSWORD'],
|
94
|
-
openstack_auth_url:
|
94
|
+
openstack_auth_url: auth_url,
|
95
95
|
openstack_domain_name: ENV['OS_USER_DOMAIN_NAME'],
|
96
96
|
openstack_project_name: ENV['OS_PROJECT_NAME'],
|
97
|
-
openstack_tenant: ENV['OS_TENANT_NAME'],
|
98
97
|
openstack_username: ENV['OS_USERNAME'],
|
99
98
|
}.freeze
|
100
99
|
|
@@ -107,10 +106,10 @@ SSH_KEYS = {
|
|
107
106
|
controller_host = auth_url.split(':')[1].delete('//')
|
108
107
|
LOG_DIR = "logs/#{controller_host}"
|
109
108
|
|
110
|
-
compute = Fog::Compute
|
111
|
-
volume = Fog::Volume
|
112
|
-
image = Fog::Image
|
113
|
-
network = Fog::Network
|
109
|
+
compute = Fog::OpenStack::Compute.new(OPENSTACK_CREDS)
|
110
|
+
volume = Fog::OpenStack::Volume.new(OPENSTACK_CREDS)
|
111
|
+
image = Fog::OpenStack::Image.new(OPENSTACK_CREDS)
|
112
|
+
network = Fog::OpenStack::Network.new(OPENSTACK_CREDS)
|
114
113
|
|
115
114
|
exit OpenStackTaster.new(
|
116
115
|
compute, volume, image, network, ENV['OS_NETWORK_REF'], settings[:flavor],
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openstack_taster
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OSU Open Source Lab
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inspec-core
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.
|
53
|
+
version: 1.0.10
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 0.
|
60
|
+
version: 1.0.10
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: net-ssh
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|