vagrant-sakura 0.3.2 → 0.4.0

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
  SHA256:
3
- metadata.gz: 6b16f39a100cafcc6c84888d0a7237ae5c456b472f28c1d1019a33eaf36d6e13
4
- data.tar.gz: 175aff7cf9fb99d2b81bb4613f01e0502ed1b7678868259fd1a15316f6fa4dc4
3
+ metadata.gz: ff62058f6d3ce51b240bbdad45b0fe7f9942394cb52a5df629f535a7bc9e9184
4
+ data.tar.gz: f03df4f5117fc2451e9609365e880d8cf8c698c46a360d678fac0efb20c9a8dd
5
5
  SHA512:
6
- metadata.gz: 9745dc579d62a5bd1515866339ecadb46496b883866b656b5fe1b423a0384b7b78bb960cd630a0603cb3fab5787ddd5982d1e238cd81377072b457aaee3d348f
7
- data.tar.gz: 07b0412d5604938000d2c1ae7bfde4213426a33e270c8f10838dc1d2d57e8f36498b5ec27fbf8f58ec0f67c22b71f99fb99ca48565e766b27b16e6d60ee62177
6
+ metadata.gz: b27a402df3a7561cc214d1c9018b82ab2c9f4c32787c42b33389196d987fcaab93cb62e3f314af9ea0717374f17da38f3e5bdbbaab65d794ac205415058e3eab
7
+ data.tar.gz: 1e77021af5c82b5b8fc15ca335181ea44f3275c34863cfd57db58258b31936fcb823296dc6689c4c408d54529f0856bb4241628217c3dc6ce6344a9ced99cfa0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.3.2 (2019/11/21)
4
+
5
+ - os_typeの追加 (#43)
6
+
3
7
  ## 0.3.2 (2018/12/18)
4
8
 
5
9
  - 埋め込みのcert.pemを除去 (#42)
data/README.md CHANGED
@@ -187,11 +187,16 @@ $ vagrant sakura-list-id
187
187
  |`ubuntu-18.04`|`ubuntu`| - | - |
188
188
  |`ubuntu-16.04`|`ubuntu`| - | - |
189
189
  |`centos`|`root`| [example](examples/centos.md) | - |
190
+ |`centos8`|`root`| [example](examples/centos8.md) | - |
191
+ |`centos7`|`root`| [example](examples/centos7.md) | - |
190
192
  |`centos6`|`root`| [example](examples/centos6.md) | - |
191
193
  |`debian`|`root`| [example](examples/debian.md) | - |
194
+ |`debian10`|`root`| - | - |
195
+ |`debian9`|`root`| - | - |
192
196
  |`coreos`|`core`| [example](examples/coreos.md) | - |
193
197
  |`freebsd`|`root`| [example](examples/freebsd.md) | - |
194
198
  |`rancheros`|`rancher`| [example](examples/rancheros.md) | メモリ2GB以上のプランが必要 |
199
+ |`k3os`|`rancher`| [example](examples/k3os.md) | - |
195
200
 
196
201
  - ``disk_source_archive`` - サーバで利用するディスクのベースとするアーカイブのID (※`os_type`とは同時に指定できません)
197
202
  - ``server_name`` - サーバ名
data/examples/centos.md CHANGED
@@ -1,4 +1,4 @@
1
- # Vagrantfileの例(CentOS7を利用する場合)
1
+ # Vagrantfileの例(CentOS最新安定板を利用する場合)
2
2
 
3
3
  ```bash
4
4
  Vagrant.configure("2") do |config|
@@ -0,0 +1,15 @@
1
+ # Vagrantfileの例(CentOS7を利用する場合)
2
+
3
+ ```bash
4
+ Vagrant.configure("2") do |config|
5
+ config.vm.box = "dummy"
6
+ config.ssh.username = "root"
7
+
8
+ config.vm.provider :sakura do |sakura, override|
9
+ sakura.os_type = "centos7"
10
+
11
+ sakura.public_key_path = File.expand_path("~/.ssh/id_rsa.pub")
12
+ override.ssh.private_key_path = File.expand_path("~/.ssh/id_rsa")
13
+ end
14
+ end
15
+ ```
@@ -0,0 +1,15 @@
1
+ # Vagrantfileの例(CentOS8を利用する場合)
2
+
3
+ ```bash
4
+ Vagrant.configure("2") do |config|
5
+ config.vm.box = "dummy"
6
+ config.ssh.username = "root"
7
+
8
+ config.vm.provider :sakura do |sakura, override|
9
+ sakura.os_type = "centos8"
10
+
11
+ sakura.public_key_path = File.expand_path("~/.ssh/id_rsa.pub")
12
+ override.ssh.private_key_path = File.expand_path("~/.ssh/id_rsa")
13
+ end
14
+ end
15
+ ```
data/examples/k3os.md ADDED
@@ -0,0 +1,16 @@
1
+ # Vagrantfileの例(k3OSを利用する場合)
2
+
3
+ ```bash
4
+ Vagrant.configure("2") do |config|
5
+ config.vm.box = "dummy"
6
+ config.ssh.username = "rancher"
7
+ config.vm.synced_folder ".", "/vagrant", id: "vagrant-root", disabled: true
8
+
9
+ config.vm.provider :sakura do |sakura, override|
10
+ sakura.os_type = "k3os"
11
+
12
+ sakura.public_key_path = File.expand_path("~/.ssh/id_rsa.pub")
13
+ override.ssh.private_key_path = File.expand_path("~/.ssh/id_rsa")
14
+ end
15
+ end
16
+ ```
@@ -8,7 +8,10 @@ Vagrant.configure("2") do |config|
8
8
 
9
9
  config.vm.provider :sakura do |sakura, override|
10
10
  sakura.os_type = "rancheros"
11
- sakura.server_plan = 4002 # 2core/4GBメモリ プラン
11
+
12
+ # 2core/4GBメモリ プラン
13
+ sakura.server_core = 2
14
+ sakura.server_memory = 4
12
15
 
13
16
  sakura.public_key_path = File.expand_path("~/.ssh/id_rsa.pub")
14
17
  override.ssh.private_key_path = File.expand_path("~/.ssh/id_rsa")
@@ -5,27 +5,42 @@ module VagrantPlugins
5
5
  "centos" => {
6
6
  "Tags.Name" => [%w(current-stable distro-centos)]
7
7
  },
8
+ "centos8" => {
9
+ "Tags.Name" => [%w(centos-8-latest)]
10
+ },
11
+ "centos7" => {
12
+ "Tags.Name" => [%w(centos-7-latest)]
13
+ },
8
14
  "centos6" => {
9
- "Tags.Name" => [%w(distro-centos distro-ver-6.10)]
15
+ "Tags.Name" => [%w(centos-6-latest)]
10
16
  },
11
17
  "ubuntu" => {
12
18
  "Tags.Name" => [%w(current-stable distro-ubuntu)]
13
19
  },
14
- "ubuntu-16.04" => {
15
- "Tags.Name" => [%w(distro-ubuntu distro-ver-16.04.4)]
16
- },
17
20
  "ubuntu-18.04" => {
18
- "Tags.Name" => [%w(distro-ubuntu distro-ver-18.04)]
21
+ "Tags.Name" => [%w(ubuntu-18.04-latest)]
22
+ },
23
+ "ubuntu-16.04" => {
24
+ "Tags.Name" => [%w(ubuntu-16.04-latest)]
19
25
  },
20
26
  "debian" => {
21
27
  "Tags.Name" => [%w(current-stable distro-debian)]
22
28
  },
29
+ "debian10" => {
30
+ "Tags.Name" => [%w(debian-10-latest)]
31
+ },
32
+ "debian9" => {
33
+ "Tags.Name" => [%w(debian-9-latest)]
34
+ },
23
35
  "coreos" => {
24
36
  "Tags.Name" => [%w(current-stable distro-coreos)]
25
37
  },
26
38
  "rancheros" => {
27
39
  "Tags.Name" => [%w(current-stable distro-rancheros)]
28
40
  },
41
+ "k3os" => {
42
+ "Tags.Name" => [%w(current-stable distro-k3os)]
43
+ },
29
44
  "freebsd" => {
30
45
  "Tags.Name" => [%w(current-stable distro-freebsd)]
31
46
  },
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Sakura
3
- VERSION = "0.3.2"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-sakura
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomoyuki Sahara
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-12-18 00:00:00.000000000 Z
12
+ date: 2019-11-21 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Enables Vagrant to manage machines in Sakura Cloud.
15
15
  email:
@@ -31,9 +31,12 @@ files:
31
31
  - example_box/metadata.json
32
32
  - examples/centos.md
33
33
  - examples/centos6.md
34
+ - examples/centos7.md
35
+ - examples/centos8.md
34
36
  - examples/coreos.md
35
37
  - examples/debian.md
36
38
  - examples/freebsd.md
39
+ - examples/k3os.md
37
40
  - examples/rancheros.md
38
41
  - examples/ubuntu.md
39
42
  - lib/vagrant-sakura.rb
@@ -88,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
91
  version: '0'
89
92
  requirements: []
90
93
  rubyforge_project:
91
- rubygems_version: 2.7.8
94
+ rubygems_version: 2.7.7
92
95
  signing_key:
93
96
  specification_version: 4
94
97
  summary: Enables Vagrant to manage machines in Sakura Cloud.