manageiq-smartstate 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/MiqVm/miq_azure_vm.rb +4 -3
- data/lib/manageiq/smartstate/version.rb +1 -1
- data/manageiq-smartstate.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7517619212a1f03fe002e07ba30b6b9200d0ee0
|
4
|
+
data.tar.gz: 2b3f9a8d7e73784afff2d978b0529d10a58f71ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1eaf8995f28876c937a0ec6c589724ce274fbf3db0201b13400f60c811b1f315f6fc0be362930527feb679802fc4b5ba34d55035fab13e28da693d987e003d1b
|
7
|
+
data.tar.gz: 427440dc548f556aa9e113773c235dbe73ea68e6a2428868f170b2b5d1b67a0310e5cd23906ea101da8e5ab351bc63a7b9c5c4c8f4f0a39a427359b159847471
|
data/lib/MiqVm/miq_azure_vm.rb
CHANGED
@@ -15,7 +15,7 @@ class MiqAzureVm < MiqVm
|
|
15
15
|
if args[:image_uri]
|
16
16
|
@uri = args[:image_uri]
|
17
17
|
elsif args[:resource_group] && args[:name]
|
18
|
-
vm_obj = vm_svc.get(@name,
|
18
|
+
vm_obj = vm_svc.get(@name, @resource_group.name)
|
19
19
|
os_disk = vm_obj.properties.storage_profile.os_disk
|
20
20
|
if vm_obj.managed_disk?
|
21
21
|
#
|
@@ -24,9 +24,10 @@ class MiqAzureVm < MiqVm
|
|
24
24
|
@snap_name = os_disk.name + "__EVM__SSA__SNAPSHOT"
|
25
25
|
else
|
26
26
|
#
|
27
|
-
# Non-Managed Disk Snapshot handling
|
27
|
+
# Non-Managed Disk Snapshot handling
|
28
28
|
#
|
29
29
|
@uri = os_disk.vhd.uri
|
30
|
+
@uri << "?snapshot=#{args[:snapshot]}" if args[:snapshot]
|
30
31
|
end
|
31
32
|
else
|
32
33
|
raise ArgumentError, "MiqAzureVm: missing required args: :image_uri or :resource_group"
|
@@ -101,7 +102,7 @@ class MiqAzureVm < MiqVm
|
|
101
102
|
disk_format = @vmConfig.getHash["#{disk_tag}.format"]
|
102
103
|
disk_info.format = disk_format unless disk_format.blank?
|
103
104
|
disk_info.rawDisk = true
|
104
|
-
disk_info.resource_group = @resource_group
|
105
|
+
disk_info.resource_group = @resource_group.name
|
105
106
|
disk_info
|
106
107
|
end
|
107
108
|
|
data/manageiq-smartstate.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.add_dependency "linux_block_device", "~>0.2.1"
|
27
27
|
spec.add_dependency "memory_buffer", ">=0.1.0"
|
28
28
|
spec.add_dependency "rufus-lru", "~>1.0.3"
|
29
|
-
spec.add_dependency "vmware_web_service", "~>0.
|
29
|
+
spec.add_dependency "vmware_web_service", "~>0.2.0"
|
30
30
|
|
31
31
|
spec.add_development_dependency "bundler"
|
32
32
|
spec.add_development_dependency "rake"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: manageiq-smartstate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ManageIQ Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: azure-armrest
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.
|
103
|
+
version: 0.2.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0.
|
110
|
+
version: 0.2.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: bundler
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|