vagrant-bindfs 0.3.2 → 0.3.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e911a5e2ca4a33a4fb61d1ed37715d4b7ad7400
|
4
|
+
data.tar.gz: 24d89a554cd12263fab32b834a1e013a4a0b90e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1faea9b38affdb4b8fa64dab759b72b4fbe9acf60a97b5b332d7dbe3930807fc0a57527ac4ed3637aae81cf87e712153cb078fced227a16e48f052628991f1a
|
7
|
+
data.tar.gz: a13d6f567d5ea4ec49ea66cdacf31fcc80d4169903efe0c3c80e2b4c34409b43fb4b400f50defe0b4948cd361b94a8cceebf65d25d4c4dfad99260f0211aba0d
|
@@ -0,0 +1,28 @@
|
|
1
|
+
module VagrantPlugins
|
2
|
+
module Bindfs
|
3
|
+
module Cap
|
4
|
+
module RedHat
|
5
|
+
module BindfsInstall
|
6
|
+
|
7
|
+
def self.bindfs_install(machine)
|
8
|
+
machine.communicate.tap do |comm|
|
9
|
+
|
10
|
+
require "vagrant-bindfs/version"
|
11
|
+
|
12
|
+
if comm.test("grep \"CentOS release 6\" /etc/centos-release")
|
13
|
+
comm.sudo("yum -y install fuse fuse-devel")
|
14
|
+
comm.sudo("wget http://bindfs.org/downloads/bindfs-#{VagrantPlugins::Bindfs::SOURCE_VERSION}.tar.gz -O bindfs.tar.gz")
|
15
|
+
comm.sudo("tar --overwrite -zxvf bindfs.tar.gz")
|
16
|
+
comm.sudo("[ -d ./bindfs-#{VagrantPlugins::Bindfs::SOURCE_VERSION} ] && cd bindfs-#{VagrantPlugins::Bindfs::SOURCE_VERSION} && ./configure && make && make install")
|
17
|
+
comm.sudo("ln -s /usr/local/bin/bindfs /usr/bin")
|
18
|
+
else
|
19
|
+
comm.sudo("yum -y install bindfs")
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
end # BindfsInstall
|
25
|
+
end # RedHat
|
26
|
+
end # Cap
|
27
|
+
end # Bindfs
|
28
|
+
end # VagrantPlugins
|
@@ -27,6 +27,11 @@ module VagrantPlugins
|
|
27
27
|
Cap::Fedora::BindfsInstall
|
28
28
|
end
|
29
29
|
|
30
|
+
guest_capability("redhat", "bindfs_install") do
|
31
|
+
require 'vagrant-bindfs/cap/redhat/bindfs_install'
|
32
|
+
Cap::RedHat::BindfsInstall
|
33
|
+
end
|
34
|
+
|
30
35
|
guest_capability("linux", "bindfs_installed") do
|
31
36
|
require "vagrant-bindfs/cap/linux/bindfs_installed"
|
32
37
|
Cap::Linux::BindfsInstalled
|
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.
|
4
|
+
version: 0.3.3
|
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:
|
13
|
+
date: 2015-01-17 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
|
@@ -22,20 +22,21 @@ executables: []
|
|
22
22
|
extensions: []
|
23
23
|
extra_rdoc_files: []
|
24
24
|
files:
|
25
|
+
- MIT-LICENSE
|
26
|
+
- README.md
|
27
|
+
- lib/vagrant-bindfs.rb
|
25
28
|
- lib/vagrant-bindfs/bind.rb
|
26
29
|
- lib/vagrant-bindfs/cap/debian/bindfs_install.rb
|
27
30
|
- lib/vagrant-bindfs/cap/fedora/bindfs_install.rb
|
28
31
|
- lib/vagrant-bindfs/cap/linux/bindfs_installed.rb
|
32
|
+
- lib/vagrant-bindfs/cap/redhat/bindfs_install.rb
|
29
33
|
- lib/vagrant-bindfs/cap/suse/bindfs_install.rb
|
30
34
|
- lib/vagrant-bindfs/command.rb
|
31
35
|
- lib/vagrant-bindfs/config.rb
|
32
36
|
- lib/vagrant-bindfs/errors.rb
|
33
37
|
- lib/vagrant-bindfs/plugin.rb
|
34
38
|
- lib/vagrant-bindfs/version.rb
|
35
|
-
- lib/vagrant-bindfs.rb
|
36
39
|
- locales/en.yml
|
37
|
-
- README.md
|
38
|
-
- MIT-LICENSE
|
39
40
|
homepage: https://github.com/gael-ian/vagrant-bindfs
|
40
41
|
licenses:
|
41
42
|
- MIT
|
@@ -46,17 +47,17 @@ require_paths:
|
|
46
47
|
- lib
|
47
48
|
required_ruby_version: !ruby/object:Gem::Requirement
|
48
49
|
requirements:
|
49
|
-
- -
|
50
|
+
- - ">="
|
50
51
|
- !ruby/object:Gem::Version
|
51
52
|
version: '0'
|
52
53
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
53
54
|
requirements:
|
54
|
-
- -
|
55
|
+
- - ">="
|
55
56
|
- !ruby/object:Gem::Version
|
56
57
|
version: '0'
|
57
58
|
requirements: []
|
58
59
|
rubyforge_project:
|
59
|
-
rubygems_version: 2.
|
60
|
+
rubygems_version: 2.2.2
|
60
61
|
signing_key:
|
61
62
|
specification_version: 4
|
62
63
|
summary: A Vagrant plugin to automate bindfs mount in the VM
|