vagrant-bindfs 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
data/lib/vagrant-bindfs/bind.rb
CHANGED
@@ -15,7 +15,7 @@ module VagrantPlugins
|
|
15
15
|
@__default_options.merge! new_options
|
16
16
|
end
|
17
17
|
|
18
|
-
def bind_folder(source_path, dest_path,
|
18
|
+
def bind_folder(source_path, dest_path, options = nil)
|
19
19
|
options ||= {}
|
20
20
|
options[:source_path] = source_path
|
21
21
|
options[:dest_path] = dest_path
|
@@ -22,9 +22,11 @@ module VagrantPlugins
|
|
22
22
|
Cap::Linux::BindfsInstalled
|
23
23
|
end
|
24
24
|
|
25
|
-
|
26
|
-
|
27
|
-
|
25
|
+
require 'vagrant-bindfs/bind'
|
26
|
+
%w{up reload}.each do |action|
|
27
|
+
action_hook(:bindfs, "machine_action_#{action}".to_sym) do |hook|
|
28
|
+
hook.before(Vagrant::Action::Builtin::NFS, Action::Bind)
|
29
|
+
end
|
28
30
|
end
|
29
31
|
end
|
30
32
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: vagrant-bindfs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.2.
|
5
|
+
version: 0.2.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- "Folken La\xC3\xABneck"
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2013-06-
|
14
|
+
date: 2013-06-04 00:00:00 Z
|
15
15
|
dependencies: []
|
16
16
|
|
17
17
|
description: A Vagrant plugin to automate bindfs mount in the VM. This allow you to change owner, group and permissions on files and, for example, work around NFS share permissions issues.
|