knife-openstack 1.0.0.rc1 → 1.0.0.rc2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -5
- data/lib/chef/knife/openstack_server_create.rb +2 -2
- data/lib/knife-openstack/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fa5f6a60cddaad604faf9b1fee4b8985279d8c3
|
4
|
+
data.tar.gz: 5deb15ee545e3c23480f92374b866fa01f78a71e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 102b1f99fa4c742e0c2f1a23215ef9a381c592aa4db9294ea259c3e010d696e529d8e6aa565e70175d2b1bb1cccb9ff6db98504b9a534c66fe20e228267b65a0
|
7
|
+
data.tar.gz: 03da3128b580dc0e38c0ded5127de2771caa517ac44563f004405a3a7389f455325b040dc064c80151be9d487e47cec1f66821e47b59fe372d923a3e4357065a
|
data/Gemfile
CHANGED
@@ -4,11 +4,7 @@ source "https://rubygems.org"
|
|
4
4
|
gemspec
|
5
5
|
|
6
6
|
group :development do
|
7
|
-
gem 'rspec', '>= 2.7.0'
|
8
7
|
gem 'guard-rspec'
|
9
|
-
gem 'rspec_junit_formatter'
|
10
|
-
gem 'rake'
|
11
8
|
gem 'mixlib-shellout'
|
12
|
-
gem 'knife-cloud', :git => 'https://github.com/opscode/knife-cloud.git'
|
13
9
|
gem 'knife-windows', :git => 'https://github.com/opscode/knife-windows.git'
|
14
|
-
end
|
10
|
+
end
|
@@ -104,8 +104,8 @@ class Chef
|
|
104
104
|
end
|
105
105
|
|
106
106
|
# Pull the port_id for the associate_floating_ip
|
107
|
-
port_id = @service.network.list_ports[:body].
|
108
|
-
fixed_ip_address =
|
107
|
+
port_id = @service.network.list_ports[:body]['ports'].find {|x| x['fixed_ips'][0]['ip_address'] == bind_ip}['id']
|
108
|
+
fixed_ip_address = service.network.list_ports[:body]["ports"].find {|x| x['id'] == port_id}['fixed_ips'][0]["ip_address"]
|
109
109
|
|
110
110
|
floating_ip_id = get_floating_ip_id(floating_address)
|
111
111
|
# Associate the floating ip via the neutron/network api
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-openstack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Clogeny
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog
|