vagrant-mos 0.9.32 → 0.9.33

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: 1807abec6cd8938e53bcf04896a0b8c1644cedd9
4
- data.tar.gz: 12170589079888dc3eb0e1ed728464af5921cc33
3
+ metadata.gz: d987378c713459ff911bd78c1ce29ef049b21d27
4
+ data.tar.gz: d53733e87fdc8fb2efe9e6024e8f3160ddab877c
5
5
  SHA512:
6
- metadata.gz: 8ab090cc189cdffbee5fe7de3067cb540466b38d11521ef62107827ae06792b082555edf62c0e2172031187dccba9400ef76de6595e8baf5d39a02c395f7c316
7
- data.tar.gz: d1c6acb4441885dda5f768728f1316d2fd699c91aa5b8b892200f0c34b161ab6082688c60493ed41c09036e95aebe8ce25c3914fc5bdb054ea8241f468bfaa1f
6
+ metadata.gz: bbaa5cac21febafb41780fb14e339d585c0d23e8a580710640a92764de20518db01eacfbe504946fe6c42e5eb899849a0ec6d811b0c2aabc81f7bac92a27ffea
7
+ data.tar.gz: b0526ae4f3648df7b13342b24f82540c394347ebf707a219de07d9bc50b5415c529bf293b619fa7cbf7f61ac7a765923626b325cd37deac2e7a9b3daa880abb0
data/README.md CHANGED
@@ -15,12 +15,13 @@ provider,从而使得Vagrant可以像管理VirtualBox那样管理美团云主
15
15
 
16
16
  ## 主要功能
17
17
 
18
- * 支持Vagrant常用命令 `up`, `status`, `destroy`, `halt`, `reload` 以及 `ssh`
18
+ * 支持Vagrant常用命令 `up`, `status`, `destroy`, `halt`, `reload`, `package`, `ssh`以及`mos-templates`
19
19
  * 创建 MOS 主机实例
20
20
  * SSH连接已创建的主机
21
21
  * 支持通过`rsync`命令同步文件夹
22
22
  * 通过`vagrant status`命令管理已创建的MOS主机
23
- * 通过`vagrant mos-templates`查看可使用的镜像.
23
+ * 通过`vagrant package`命令创建MOS实例模板
24
+ * 通过`vagrant mos-templates`查看可使用的模板
24
25
 
25
26
  ## 安装使用
26
27
 
@@ -85,8 +86,8 @@ MOS provider设置了若干参数,主要参数说明如下:
85
86
  * `access_key` - 访问美团云的key
86
87
  * `access_secret` - 访问美团云的secret
87
88
  * `access_url` -访问美团云的url
88
- * `region` - 创建主机的region,例如 "us-east-1"
89
- * `template_id` - 创建美团云主机的镜像,例如 "fa1026fe-c082-4ead-8458-802bf65ca64c",用户可以使用`vagrant mos-templates`查看可以使用的镜像
89
+ * `region` - 创建主机的region,例如 "beijing"
90
+ * `template_id` - 创建美团云主机的镜像ID,例如 "fa1026fe-c082-4ead-8458-802bf65ca64c",用户可以使用`vagrant mos-templates`查看可以使用的镜像
90
91
  * `data_disk` - 创建美团云主机的数据盘大小,单位为GB,例如100代表创建100G的数据盘
91
92
  * `band_width` - 创建美团云主机的外网带宽大小,单位为Mbps,例如10代表选择10Mbps的外网带宽
92
93
  * `instance_ready_timeout` - 等待MOS主机创建成功最长时间,单位为秒。默认为120s
@@ -25,7 +25,7 @@ module VagrantPlugins
25
25
  end
26
26
 
27
27
  command "mos-templates" do
28
- require_relative "command"
28
+ require_relative "command/mos-templates"
29
29
  Command
30
30
  end
31
31
 
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module MOS
3
- VERSION = '0.9.32'
3
+ VERSION = '0.9.33'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,83 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-mos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.32
4
+ version: 0.9.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - yangcs2009
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-09 00:00:00.000000000 Z
11
+ date: 2015-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mos-sdk
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: crack
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.4.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.4.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '2.12'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '2.12'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec-its
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  description: Enables Vagrant to manage machines in MOS.
@@ -86,7 +86,7 @@ executables: []
86
86
  extensions: []
87
87
  extra_rdoc_files: []
88
88
  files:
89
- - .gitignore
89
+ - ".gitignore"
90
90
  - CHANGELOG.md
91
91
  - Gemfile
92
92
  - README.md
@@ -113,7 +113,7 @@ files:
113
113
  - lib/vagrant-mos/action/timed_provision.rb
114
114
  - lib/vagrant-mos/action/wait_for_state.rb
115
115
  - lib/vagrant-mos/action/warn_networks.rb
116
- - lib/vagrant-mos/command.rb
116
+ - lib/vagrant-mos/command/mos-templates.rb
117
117
  - lib/vagrant-mos/config.rb
118
118
  - lib/vagrant-mos/errors.rb
119
119
  - lib/vagrant-mos/plugin.rb
@@ -136,17 +136,17 @@ require_paths:
136
136
  - lib
137
137
  required_ruby_version: !ruby/object:Gem::Requirement
138
138
  requirements:
139
- - - '>='
139
+ - - ">="
140
140
  - !ruby/object:Gem::Version
141
141
  version: '0'
142
142
  required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  requirements:
144
- - - '>='
144
+ - - ">="
145
145
  - !ruby/object:Gem::Version
146
146
  version: 1.3.6
147
147
  requirements: []
148
148
  rubyforge_project: vagrant-mos
149
- rubygems_version: 2.4.5
149
+ rubygems_version: 2.2.2
150
150
  signing_key:
151
151
  specification_version: 4
152
152
  summary: Enables Vagrant to manage machines in MOS.