vagrant-bindfs 0.4.3 → 0.4.4
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 +4 -4
- data/README.md +1 -1
- data/lib/vagrant-bindfs/bind.rb +2 -2
- data/lib/vagrant-bindfs/command.rb +8 -3
- data/lib/vagrant-bindfs/version.rb +2 -2
- data/locales/en.yml +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ded7690b53fef5f95c0a62e146e84f1ce44e7543
|
|
4
|
+
data.tar.gz: 4e52e161ec2787628514b10dc1b0b63da29f0a49
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e25b86d19175e5e9c18f61b318aee9ee61fd5249f7df9a879197601d53a0c1838252a7db7ce40d8a7906ddcfa7b15980135584a9a9a3774bccd794174f57711b
|
|
7
|
+
data.tar.gz: 2cfc75f2dbe087ab68628b01ec0012c74c23db968c71d78530221c74c48d05577bea0818b682675b91e48e201cd2839cd8a0d1dd5b9c04beeb6d48b50d6aab77
|
data/README.md
CHANGED
|
@@ -105,7 +105,7 @@ See [bindfs man page](http://bindfs.org/docs/bindfs.1.html) for details.
|
|
|
105
105
|
vagrant-bindfs detects installed version of bindfs, translate option names when needed and ignore an option if it is not supported.
|
|
106
106
|
As we may have missed something, it will warn you when a binding command fail.
|
|
107
107
|
|
|
108
|
-
On Debian, SUSE and CentOS (5-6) guest systems, vagrant-bindfs will try to install bindfs automatically if it is not installed.
|
|
108
|
+
On Debian (this includes Ubuntu), SUSE and CentOS (5-6) guest systems, vagrant-bindfs will try to install bindfs automatically if it is not installed.
|
|
109
109
|
On other system, you'll get warned.
|
|
110
110
|
|
|
111
111
|
|
data/lib/vagrant-bindfs/bind.rb
CHANGED
|
@@ -46,7 +46,7 @@ module VagrantPlugins
|
|
|
46
46
|
next
|
|
47
47
|
end
|
|
48
48
|
|
|
49
|
-
unless @machine.communicate.test("getent passwd #{command.user.shellescape}")
|
|
49
|
+
unless options[:skip_verify_user] == true || @machine.communicate.test("getent passwd #{command.user.shellescape}")
|
|
50
50
|
@env[:ui].error I18n.t(
|
|
51
51
|
"vagrant.config.bindfs.errors.user_not_exist",
|
|
52
52
|
user: command.user
|
|
@@ -54,7 +54,7 @@ module VagrantPlugins
|
|
|
54
54
|
next
|
|
55
55
|
end
|
|
56
56
|
|
|
57
|
-
unless @machine.communicate.test("getent group #{command.group.shellescape}")
|
|
57
|
+
unless options[:skip_verify_user] == true || @machine.communicate.test("getent group #{command.group.shellescape}")
|
|
58
58
|
@env[:ui].error I18n.t(
|
|
59
59
|
"vagrant.config.bindfs.errors.group_not_exist",
|
|
60
60
|
group: command.group
|
|
@@ -160,9 +160,14 @@ module VagrantPlugins
|
|
|
160
160
|
end
|
|
161
161
|
|
|
162
162
|
def bindfs_version_lower_than(version)
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
163
|
+
bindfs_version < Gem::Version.new(version)
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
def bindfs_version
|
|
167
|
+
@bindfs_version ||= begin
|
|
168
|
+
bindfs_version = @machine.communicate.execute(%{sudo -i bindfs --version | cut -d" " -f2});
|
|
169
|
+
Gem::Version.new(bindfs_version)
|
|
170
|
+
end
|
|
166
171
|
end
|
|
167
172
|
|
|
168
173
|
end
|
data/locales/en.yml
CHANGED
|
@@ -2,7 +2,7 @@ en:
|
|
|
2
2
|
vagrant:
|
|
3
3
|
config:
|
|
4
4
|
bindfs:
|
|
5
|
-
not_installed: "Bindfs seems to not be installed on the virtual machine"
|
|
5
|
+
not_installed: "Bindfs seems to not be installed on the virtual machine, installing now"
|
|
6
6
|
not_loaded: "Fuse kernel module seems to be not loaded, trying to load it"
|
|
7
7
|
already_mounted: "There's already a bindfs mount to destination %{dest}"
|
|
8
8
|
status:
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vagrant-bindfs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gaël-Ian Havard
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2015-
|
|
13
|
+
date: 2015-11-29 00:00:00.000000000 Z
|
|
14
14
|
dependencies: []
|
|
15
15
|
description: A Vagrant plugin to automate bindfs mount in the VM. This allow you to
|
|
16
16
|
change owner, group and permissions on files and, for example, work around NFS share
|