vagrant-mos 0.8.85 → 0.8.86

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 59665ee3cc739ae69fa67347b8f8bde52071a8d0
4
- data.tar.gz: 1f4f0d74ce986909f757b7ee4134a328111eb279
3
+ metadata.gz: c40794d19a9172c3514e584f3c081f57a55f0edd
4
+ data.tar.gz: 9dbf47f97d02da0bab0425b31b419532fffb0d17
5
5
  SHA512:
6
- metadata.gz: e289e3af4f734a8d6a64bfc9fbf102b30ab585fa2a1fcbb88d5e8f98ae19a599350b247ae70abb17958d18bdc3db5f340b13ee5c9e3a59a2c148d9f7378199e3
7
- data.tar.gz: 19e78f6ba311cd95d883035e474b51f37d7eac68c9b544046b5331b8452e47d5cce934c8d37794eda266c318958a46c55bfc9fddc45e0fe5c1368f4544bed3e1
6
+ metadata.gz: 9fa92a57667d2e5bca010604e25770ab79642f1feb483e04da2f27563490e8b3b48abdac38c7942e7e25b93afd42fcfd7f00e6f28ae0663b41bd98f56506ef23
7
+ data.tar.gz: f7646e8aec6236972238f74dfd8af96f18c85117f3ffa7b579a79fe7adba1114d3ea4cc889dc517e7b8d29e664bda83fa78c1fe9e9c7c3869baf91fc5b87bbb5
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
1
  .DS_Store
2
2
  Gemfile.lock
3
3
  .idea
4
+ .idea/
data/CHANGELOG.md CHANGED
@@ -1,92 +1,3 @@
1
- # 0.6.0 (December 13, 2014)
2
-
3
- * Support static Elastic IP addresses.
4
- * Support for creating AMIs with the `vagrant package`
5
-
6
- # 0.5.0 (June 22, 2014)
7
-
8
- * Support for associating public IPs for VMs inside of VPCs (GH
9
- [#219](https://github.com/mitchellh/vagrant-mos/pull/219), GH
10
- [#205](https://github.com/mitchellh/vagrant-mos/issues/205))
11
- * Bug-fix for per region configs with `associate_public_ip` (GH
12
- [#237](https://github.com/mitchellh/vagrant-mos/pull/237))
13
- * rsyncing folders uses `--delete` flag to better emulate "real shared folders
14
- (GH [#194](https://github.com/mitchellh/vagrant-mos/pull/194))
15
- * fog gem version bumped to 1.22 (GH [#253](https://github.com/mitchellh/vagrant-mos/pull/253))
16
- * Simple ELB support (GH [#88](https://github.com/mitchellh/vagrant-mos/pull/88),
17
- GH [#238](https://github.com/mitchellh/vagrant-mos/pull/238))
18
-
19
- # 0.4.1 (December 17, 2013)
20
-
21
- * Update fog.io to 1.18.0
22
- * Fix sync folder user permissions (GH #175)
23
- * Fix vagrant < 1.3.0 provisioner compatibility (GH #173)
24
- * Add vagrant 1.4.0 multiple SSH key support (GH #172)
25
- * Fix EIP deallocation bug (GH #164)
26
- * Add (per shared folder) rsync exclude flag (GH #156)
27
-
28
- # 0.4.0 (October 11, 2013)
29
-
30
- * Handle EIP allocation error (GH #134)
31
- * Implement halt and reload (GH #31)
32
- * rsync ignores Vagrantfile
33
- * warn if none of the security groups allows incoming SSH
34
- * bump fog.io to 1.15.0
35
- * Fix rsync on windows (GH #77)
36
- * Add `ssh_host_attribute` config (GH #143)
37
-
38
- # 0.3.0 (September 2, 2013)
39
-
40
- * Parallelize multi-machine up on Vagrant 1.2+
41
- * Show proper configuration errors if an invalid configuration key
42
- is used.
43
- * Request confirmation on `vagrant destroy`, like normal VirtualBox + Vagrant.
44
- * If user data is configured, output is shown on "vagrant up" that
45
- it is being set.
46
- * Add EIP support (GH #65)
47
- * Add block device mapping support (GH #93)
48
- * README improvements (GH #120)
49
- * Fix missing locale message (GH #73)
50
- * SyncFolders creates hostpath if it doesn't exist and `:create` option is set (GH #17)
51
- * Add IAM Instance Profile support (GH #68)
52
- * Add shutdown behavior support (GH #125,#131)
53
-
54
- # 0.2.2 (April 18, 2013)
55
-
56
- * Fix crashing bug with incorrect provisioner arguments.
57
-
58
- # 0.2.1 (April 16, 2013)
59
-
60
- * Got rid of extranneous references to old SSH settings.
61
-
62
- # 0.2.0 (April 16, 2013)
63
-
64
- * Add support for `vagrant ssh -c` [GH-42]
65
- * Ability to specify a timeout for waiting for instances to become ready. [GH-44]
66
- * Better error message if instance didn't become ready in time.
67
- * Connection can now be done using IAM profiles. [GH-41]
68
-
69
- # 0.1.3 (April 9, 2013)
70
-
71
- * The `MOS_ACCESS_KEY` and `MOS_SECRET_KEY` will be used if available
72
- and no specific keys are set in the Vagrantfile. [GH-33]
73
- * Fix issues with SSH on VPCs, the correct IP is used. [GH-30]
74
- * Exclude the ".vagrant" directory from rsync.
75
- * Implement `:disabled` flag support for shared folders. [GH-29]
76
- * `mos.user_data` to specify user data on the instance. [GH-26]
77
-
78
- # 0.1.2 (March 22, 2013)
79
-
80
- * Choose the proper region when connecting to MOS. [GH-9]
81
- * Configurable SSH port. [GH-13]
82
- * Support other MOS-compatible API endpoints with `config.endpoint`
83
- and `config.version`. [GH-6]
84
- * Disable strict host key checking on rsync so known hosts aren't an issue. [GH-7]
85
-
86
- # 0.1.1 (March 18, 2013)
87
-
88
- * Up fog dependency for Vagrant 1.1.1
89
-
90
- # 0.1.0 (March 14, 2013)
1
+ # 0.8.0 (January 15, 2014)
91
2
 
92
3
  * Initial release.
data/README.md CHANGED
@@ -1,5 +1,4 @@
1
1
  # Vagrant MOS Provider
2
- [![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/mitchellh/vagrant-mos?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
3
2
 
4
3
  <span class="badges">
5
4
  [![Gem Version](https://badge.fury.io/rb/vagrant-mos.png)][gem]
@@ -0,0 +1,17 @@
1
+ require "pathname"
2
+
3
+ require "vagrant/action/builder"
4
+
5
+ module VagrantPlugins
6
+ module MOS
7
+ class Command < Vagrant.plugin(2, :command)
8
+ # Include the built-in modules so we can use them as top-level things.
9
+ include Vagrant::Action::Builtin
10
+
11
+ def execute
12
+ puts "Hello!"
13
+ 0
14
+ end
15
+ end
16
+ end
17
+ end
@@ -78,7 +78,7 @@ module VagrantPlugins
78
78
  @access_key_id = UNSET_VALUE
79
79
  @ami = UNSET_VALUE
80
80
  @instance_ready_timeout = UNSET_VALUE
81
- @name = UNSET_VALUE
81
+ @name = UNSET_VALUE
82
82
  @instance_type = UNSET_VALUE
83
83
  @keypair_name = UNSET_VALUE
84
84
  @region = UNSET_VALUE
@@ -19,14 +19,6 @@ module VagrantPlugins
19
19
  error_key(:instance_ready_timeout)
20
20
  end
21
21
 
22
- #class InstancePackageError < VagrantMOSError
23
- # error_key(:instance_package_error)
24
- #end
25
-
26
- #class InstancePackageTimeout < VagrantMOSError
27
- # error_key(:instance_package_timeout)
28
- #end
29
-
30
22
  class RsyncError < VagrantMOSError
31
23
  error_key(:rsync_error)
32
24
  end
@@ -34,10 +26,6 @@ module VagrantPlugins
34
26
  class MkdirError < VagrantMOSError
35
27
  error_key(:mkdir_error)
36
28
  end
37
-
38
- #class ElbDoesNotExistError < VagrantMOSError
39
- # error_key("elb_does_not_exist")
40
- #end
41
29
  end
42
30
  end
43
31
  end
@@ -24,6 +24,11 @@ module VagrantPlugins
24
24
  Config
25
25
  end
26
26
 
27
+ command "images" do
28
+ require_relative "command"
29
+ Command
30
+ end
31
+
27
32
  provider(:mos, parallel: true) do
28
33
  # Setup logging and i18n
29
34
  setup_logging
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module MOS
3
- VERSION = '0.8.85'
3
+ VERSION = '0.8.86'
4
4
  end
5
5
  end
data/vagrant-mos.gemspec CHANGED
@@ -15,7 +15,6 @@ Gem::Specification.new do |s|
15
15
  s.required_rubygems_version = ">= 1.3.6"
16
16
  s.rubyforge_project = "vagrant-mos"
17
17
 
18
- s.add_runtime_dependency "fog", "~> 1.22"
19
18
  s.add_runtime_dependency "mos-sdk", ">= 1.0.0"
20
19
 
21
20
  s.add_runtime_dependency "crack", "~> 0.4.2"
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-mos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.85
4
+ version: 0.8.86
5
5
  platform: ruby
6
6
  authors:
7
7
  - yangcs2009
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-26 00:00:00.000000000 Z
11
+ date: 2015-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: fog
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ~>
18
- - !ruby/object:Gem::Version
19
- version: '1.22'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ~>
25
- - !ruby/object:Gem::Version
26
- version: '1.22'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: mos-sdk
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -103,9 +89,7 @@ files:
103
89
  - .gitignore
104
90
  - CHANGELOG.md
105
91
  - Gemfile
106
- - LICENSE
107
92
  - README.md
108
- - Rakefile
109
93
  - Vagrantfile
110
94
  - example_box/README.md
111
95
  - example_box/Vagrantfile
@@ -127,6 +111,7 @@ files:
127
111
  - lib/vagrant-mos/action/timed_provision.rb
128
112
  - lib/vagrant-mos/action/wait_for_state.rb
129
113
  - lib/vagrant-mos/action/warn_networks.rb
114
+ - lib/vagrant-mos/command.rb
130
115
  - lib/vagrant-mos/config.rb
131
116
  - lib/vagrant-mos/errors.rb
132
117
  - lib/vagrant-mos/plugin.rb
@@ -135,10 +120,8 @@ files:
135
120
  - lib/vagrant-mos/version.rb
136
121
  - locales/en.yml
137
122
  - mos.box
138
- - spec/spec_helper.rb
139
123
  - spec/vagrant-mos/config_spec.rb
140
124
  - templates/metadata.json.erb
141
- - templates/vagrant-aws_package_Vagrantfile.erb
142
125
  - vagrant-mos.gemspec
143
126
  homepage: http://www.vagrantup.com
144
127
  licenses:
data/LICENSE DELETED
@@ -1,8 +0,0 @@
1
- The MIT License (MIT)
2
- Copyright (c) 2014 Mitchell Hashimoto
3
-
4
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5
-
6
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7
-
8
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile DELETED
@@ -1,21 +0,0 @@
1
- require 'rubygems'
2
- require 'bundler/setup'
3
- require 'rspec/core/rake_task'
4
-
5
- # Immediately sync all stdout so that tools like buildbot can
6
- # immediately load in the output.
7
- $stdout.sync = true
8
- $stderr.sync = true
9
-
10
- # Change to the directory of this file.
11
- Dir.chdir(File.expand_path("../", __FILE__))
12
-
13
- # This installs the tasks that help with gem creation and
14
- # publishing.
15
- Bundler::GemHelper.install_tasks
16
-
17
- # Install the `spec` task so that we can run tests.
18
- RSpec::Core::RakeTask.new
19
-
20
- # Default task is to run the unit tests
21
- task :default => "spec"
data/spec/spec_helper.rb DELETED
@@ -1 +0,0 @@
1
-
@@ -1,5 +0,0 @@
1
- Vagrant.configure("2") do |config|
2
- config.vm.provider "mos" do |mos|
3
- mos.region_config "<%= region %>", ami: "<%= ami %>"
4
- end
5
- end