vagrant-bindfs 0.3.3 → 0.3.4

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
  SHA1:
3
- metadata.gz: 8e911a5e2ca4a33a4fb61d1ed37715d4b7ad7400
4
- data.tar.gz: 24d89a554cd12263fab32b834a1e013a4a0b90e3
3
+ metadata.gz: 748c092fd2cadf3c3605d820738e0f6a4a34af90
4
+ data.tar.gz: 9b44bc4f51b98206dc4536742049ad5bf0b6093f
5
5
  SHA512:
6
- metadata.gz: b1faea9b38affdb4b8fa64dab759b72b4fbe9acf60a97b5b332d7dbe3930807fc0a57527ac4ed3637aae81cf87e712153cb078fced227a16e48f052628991f1a
7
- data.tar.gz: a13d6f567d5ea4ec49ea66cdacf31fcc80d4169903efe0c3c80e2b4c34409b43fb4b400f50defe0b4948cd361b94a8cceebf65d25d4c4dfad99260f0211aba0d
6
+ metadata.gz: 8f28c41dc2bdae4d6fca9b81e609d3f48dad43ff7469aedbf79d8affe38cec60c518bfbfc2becc17187a73efcf5ac225c9d02d87e8f7fcedce2374358514e5e2
7
+ data.tar.gz: 359fd4c6710a62cce62b84d76841659e9871bc9f85053a8cd939bd357d2adcb18d28e374da9c8f9fd11dca0b9994292d755dbc631102a6b48407119b6a6f3021
data/README.md CHANGED
@@ -97,7 +97,7 @@ See [bindfs man page](http://bindfs.org/docs/bindfs.1.html) for details.
97
97
  vagrant-bindfs detects installed version of bindfs, translate option names when needed and ignore an option if it is not supported.
98
98
  As we may have missed something, it will warn you when a binding command fail.
99
99
 
100
- On Debian and SUSE guest systems, vagrant-bindfs will try to install bindfs automatically if it is not installed.
100
+ On Debian, SUSE and CentOS (5-6) guest systems, vagrant-bindfs will try to install bindfs automatically if it is not installed.
101
101
  On other system, you'll get warned.
102
102
 
103
103
 
@@ -9,10 +9,13 @@ module VagrantPlugins
9
9
  end
10
10
 
11
11
  def self.loaded_fuse?(machine)
12
- machine.communicate.test("lsmod | grep -q fuse")
12
+ machine.communicate.test("lsmod | grep -q fuse || grep -q fuse /etc/modules")
13
13
  end
14
14
 
15
15
  def self.modprobe_fuse(machine)
16
+ unless machine.communicate.test("grep -q fuse /etc/modules")
17
+ machine.communicate.sudo("bash -c \"echo 'fuse' >> /etc/modules\"")
18
+ end
16
19
  machine.communicate.sudo("/sbin/modprobe fuse")
17
20
  end
18
21
 
@@ -1,6 +1,6 @@
1
1
  module VagrantPlugins
2
2
  module Bindfs
3
- VERSION = "0.3.3"
3
+ VERSION = "0.3.4"
4
4
  SOURCE_VERSION = "1.12.6"
5
5
  end
6
6
  end
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.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gaël-Ian Havard