vagrant-mos 0.8.81 → 0.8.82
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/lib/vagrant-mos/action.rb +0 -16
- data/lib/vagrant-mos/action/run_instance.rb +1 -1
- data/lib/vagrant-mos/config.rb +0 -2
- data/lib/vagrant-mos/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a5f6fd76f5f7094a20bf66f53332ac7860bbac14
|
|
4
|
+
data.tar.gz: 7afe121ea98860e9fbd1258a8b0252cdcbae869c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 814220e20ab76a8315124876e62a97bef15d9e3ea02ecfd32140aeb2da3a9f81a347d32a0bf98ca2e508f3215a04c9e517a87dbfa6b4fe54b11987d508fd6640
|
|
7
|
+
data.tar.gz: 5f9d5ab35191a8216d5a34203e3e2103a092cc8a7186533e80a08b290d5ee8a4f6b700012c6c9f006fb9bb1b486b870eb7e3a14a023a40dac1432781ade0754d
|
data/lib/vagrant-mos/action.rb
CHANGED
|
@@ -8,21 +8,6 @@ module VagrantPlugins
|
|
|
8
8
|
# Include the built-in modules so we can use them as top-level things.
|
|
9
9
|
include Vagrant::Action::Builtin
|
|
10
10
|
|
|
11
|
-
#def self.action_package
|
|
12
|
-
# Vagrant::Action::Builder.new.tap do |b|
|
|
13
|
-
# b.use Call, IsCreated do |env, b2|
|
|
14
|
-
# if !env[:result]
|
|
15
|
-
# b2.use MessageNotCreated
|
|
16
|
-
# next
|
|
17
|
-
# end
|
|
18
|
-
#
|
|
19
|
-
# # Connect to MOS and then Create a package from the server instance
|
|
20
|
-
# b2.use ConnectMOS
|
|
21
|
-
# b2.use PackageInstance
|
|
22
|
-
# end
|
|
23
|
-
# end
|
|
24
|
-
#end
|
|
25
|
-
|
|
26
11
|
# This action is called to halt the remote machine.
|
|
27
12
|
def self.action_halt
|
|
28
13
|
Vagrant::Action::Builder.new.tap do |b|
|
|
@@ -194,7 +179,6 @@ module VagrantPlugins
|
|
|
194
179
|
autoload :MessageAlreadyCreated, action_root.join("message_already_created")
|
|
195
180
|
autoload :MessageNotCreated, action_root.join("message_not_created")
|
|
196
181
|
autoload :MessageWillNotDestroy, action_root.join("message_will_not_destroy")
|
|
197
|
-
#autoload :PackageInstance, action_root.join("package_instance")
|
|
198
182
|
autoload :ReadSSHInfo, action_root.join("read_ssh_info")
|
|
199
183
|
autoload :ReadState, action_root.join("read_state")
|
|
200
184
|
autoload :RunInstance, action_root.join("run_instance")
|
|
@@ -27,7 +27,7 @@ module VagrantPlugins
|
|
|
27
27
|
# Get the configs
|
|
28
28
|
region_config = env[:machine].provider_config.get_region_config(region)
|
|
29
29
|
ami = region_config.ami
|
|
30
|
-
instance_name = region_config.
|
|
30
|
+
instance_name = region_config.name
|
|
31
31
|
instance_type = region_config.instance_type
|
|
32
32
|
keypair = region_config.keypair_name
|
|
33
33
|
terminate_on_shutdown = region_config.terminate_on_shutdown
|
data/lib/vagrant-mos/config.rb
CHANGED
|
@@ -179,8 +179,6 @@ module VagrantPlugins
|
|
|
179
179
|
# Default region is us-east-1. This is sensible because MOS
|
|
180
180
|
# generally defaults to this as well.
|
|
181
181
|
@region = "us-east-1" if @region == UNSET_VALUE
|
|
182
|
-
#@availability_zone = nil if @availability_zone == UNSET_VALUE
|
|
183
|
-
#@endpoint = nil if @endpoint == UNSET_VALUE
|
|
184
182
|
@version = nil if @version == UNSET_VALUE
|
|
185
183
|
|
|
186
184
|
# By default we don't use an IAM profile
|
data/lib/vagrant-mos/version.rb
CHANGED