vagrant-multiplug 0.0.2 → 0.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1daf696a9321e6cd4181f3c569280b64934bad90
4
- data.tar.gz: b13d3e1e56035447a08cc2815f551e040dad6205
3
+ metadata.gz: 874a62556ea171cf9f0f9b77dbd293a5ad6b7728
4
+ data.tar.gz: 9ea027923911666cb99e8186081fb7c0e7316302
5
5
  SHA512:
6
- metadata.gz: 62f1d2ed525d5806c30e6f59dcd0395c3c60921de9354e2c176c5d4a6a91228eff20c53eb0b4d8d2ae1e2c92fddb923be0898785529677bb4b727411f99133d0
7
- data.tar.gz: 05d736b9113418145bbf4d3fe55ad6e3f1155a35bdd2369f1752b26ff3a086bc9b4237d841d3b1fe47d238fdd854f8be5fa649e8bef5306115e9ca4a91f54cb7
6
+ metadata.gz: f9af6725686fc3cb1ccec94c84307fdf65b08458032b95bf14e035a24257aec4370081fb6192cc6f4a52c6c9e3bfdb2a37d0ea05fab86ed1a9598f4d767e9b67
7
+ data.tar.gz: 68e47bb1ec823ea71bdf4ea8263a9e3403214af505e663453b74c2ebc2fc075a472fac676abf7aeef81cde5b78f1725de36f5d214a9f72a4c73b32d8ac67282e
@@ -1,3 +1,6 @@
1
+ ## 0.0.3
2
+ - Fix problem that newly-installed gems can't be loaded after restart
3
+
1
4
  ## 0.0.2
2
5
  - Fix installed package checking logic
3
6
 
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
+ ```
@@ -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-defaults"
6
- config.plugin.add_dependency "serverkit-homebrew"
7
- config.plugin.add_dependency "serverkit-karabiner"
8
- config.plugin.add_dependency "serverkit-rbenv"
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
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module Multiplug
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  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
@@ -0,0 +1,3 @@
1
+ resources:
2
+ - type: rbenv_ruby
3
+ version: 2.2.0
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.2
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: