vagrant-multiplug 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +54 -0
- data/Vagrantfile +5 -4
- data/lib/vagrant/multiplug/version.rb +1 -1
- data/lib/vagrant_plugins/multiplug/action/install_plugins.rb +10 -1
- data/recipe.yml +3 -0
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 874a62556ea171cf9f0f9b77dbd293a5ad6b7728
|
4
|
+
data.tar.gz: 9ea027923911666cb99e8186081fb7c0e7316302
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9af6725686fc3cb1ccec94c84307fdf65b08458032b95bf14e035a24257aec4370081fb6192cc6f4a52c6c9e3bfdb2a37d0ea05fab86ed1a9598f4d767e9b67
|
7
|
+
data.tar.gz: 68e47bb1ec823ea71bdf4ea8263a9e3403214af505e663453b74c2ebc2fc075a472fac676abf7aeef81cde5b78f1725de36f5d214a9f72a4c73b32d8ac67282e
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -21,3 +21,57 @@ Vagrant.configure("2") do |config|
|
|
21
21
|
...
|
22
22
|
end
|
23
23
|
```
|
24
|
+
|
25
|
+
## Example
|
26
|
+
Here is an example of `vagrant up`.
|
27
|
+
|
28
|
+
```
|
29
|
+
$ vagrant plugin install vagrant-multiplug
|
30
|
+
Installing the 'vagrant-multiplug' plugin. This can take a few minutes...
|
31
|
+
Installed the plugin 'vagrant-multiplug (0.0.2)'!
|
32
|
+
$ vagrant plugin list
|
33
|
+
vagrant-multiplug (0.0.2)
|
34
|
+
vagrant-share (1.1.3, system)
|
35
|
+
$ vagrant up
|
36
|
+
Bringing machine 'default' up with 'virtualbox' provider...
|
37
|
+
Installing the 'vagrant-serverkit --version '0.0.2'' plugin. This can take a few minutes...
|
38
|
+
Installed the plugin 'vagrant-serverkit (0.0.2)'!
|
39
|
+
Installing the 'serverkit-defaults' plugin. This can take a few minutes...
|
40
|
+
Installed the plugin 'serverkit-defaults (0.0.1)'!
|
41
|
+
Installing the 'serverkit-homebrew' plugin. This can take a few minutes...
|
42
|
+
Installed the plugin 'serverkit-homebrew (0.0.3)'!
|
43
|
+
Installing the 'serverkit-karabiner' plugin. This can take a few minutes...
|
44
|
+
Installed the plugin 'serverkit-karabiner (0.0.1)'!
|
45
|
+
Installing the 'serverkit-rbenv' plugin. This can take a few minutes...
|
46
|
+
Installed the plugin 'serverkit-rbenv (0.0.2)'!
|
47
|
+
Restarting vagrant...
|
48
|
+
Bringing machine 'default' up with 'virtualbox' provider...
|
49
|
+
==> default: Importing base box 'ubuntu/trusty64'...
|
50
|
+
==> default: Matching MAC address for NAT networking...
|
51
|
+
==> default: Checking if box 'ubuntu/trusty64' is up to date...
|
52
|
+
==> default: Setting the name of the VM: vagrant-multiplug_default_1428990750261_56569
|
53
|
+
==> default: Clearing any previously set forwarded ports...
|
54
|
+
==> default: Clearing any previously set network interfaces...
|
55
|
+
==> default: Preparing network interfaces based on configuration...
|
56
|
+
default: Adapter 1: nat
|
57
|
+
==> default: Forwarding ports...
|
58
|
+
default: 22 => 2222 (adapter 1)
|
59
|
+
==> default: Booting VM...
|
60
|
+
==> default: Waiting for machine to boot. This may take a few minutes...
|
61
|
+
default: SSH address: 127.0.0.1:2222
|
62
|
+
default: SSH username: vagrant
|
63
|
+
default: SSH auth method: private key
|
64
|
+
default: Warning: Connection timeout. Retrying...
|
65
|
+
default: Warning: Remote connection disconnect. Retrying...
|
66
|
+
default:
|
67
|
+
default: Vagrant insecure key detected. Vagrant will automatically replace
|
68
|
+
default: this with a newly generated keypair for better security.
|
69
|
+
default:
|
70
|
+
default: Inserting generated public key within guest...
|
71
|
+
default: Removing insecure key from the guest if its present...
|
72
|
+
default: Key inserted! Disconnecting and reconnecting using new SSH key...
|
73
|
+
==> default: Machine booted and ready!
|
74
|
+
==> default: Checking for guest additions in VM...
|
75
|
+
==> default: Mounting shared folders...
|
76
|
+
default: /vagrant => /Users/r7kamura/src/github.com/r7kamura/vagrant-multiplug
|
77
|
+
```
|
data/Vagrantfile
CHANGED
@@ -2,8 +2,9 @@ Vagrant.configure("2") do |config|
|
|
2
2
|
config.vm.box = "ubuntu/trusty64"
|
3
3
|
|
4
4
|
config.plugin.add_dependency "vagrant-serverkit", "0.0.2"
|
5
|
-
config.plugin.add_dependency "serverkit-
|
6
|
-
|
7
|
-
config.
|
8
|
-
|
5
|
+
config.plugin.add_dependency "serverkit-rbenv", "0.0.3"
|
6
|
+
|
7
|
+
config.vm.provision :serverkit do |serverkit_config|
|
8
|
+
serverkit_config.recipe_path = "recipe.yml"
|
9
|
+
end
|
9
10
|
end
|
@@ -23,9 +23,18 @@ module VagrantPlugins
|
|
23
23
|
|
24
24
|
private
|
25
25
|
|
26
|
+
# Force Vagrant::Bundler#init! to be enabled
|
27
|
+
# @return [Hash<String => String>]
|
28
|
+
def env_for_restarted_process
|
29
|
+
{
|
30
|
+
"VAGRANT_INTERNAL_BUNDLERIZED" => nil,
|
31
|
+
"VAGRANT_FORCE_BUNDLER" => "1",
|
32
|
+
}
|
33
|
+
end
|
34
|
+
|
26
35
|
def restart
|
27
36
|
puts "Restarting vagrant..."
|
28
|
-
exec "#{$0} #{ARGV * ' '}"
|
37
|
+
exec(env_for_restarted_process, "#{$0} #{ARGV * ' '}")
|
29
38
|
end
|
30
39
|
end
|
31
40
|
end
|
data/recipe.yml
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-multiplug
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryo Nakamura
|
@@ -58,6 +58,7 @@ files:
|
|
58
58
|
- lib/vagrant_plugins/multiplug/action/install_plugins.rb
|
59
59
|
- lib/vagrant_plugins/multiplug/config.rb
|
60
60
|
- lib/vagrant_plugins/multiplug/plugin.rb
|
61
|
+
- recipe.yml
|
61
62
|
- vagrant-multiplug.gemspec
|
62
63
|
homepage: https://github.com/r7kamura/vagrant-multiplug
|
63
64
|
licenses:
|
@@ -84,3 +85,4 @@ signing_key:
|
|
84
85
|
specification_version: 4
|
85
86
|
summary: Vagrant plug-in to manage plug-in dependencies.
|
86
87
|
test_files: []
|
88
|
+
has_rdoc:
|