vagrant-nfs_guest 0.1.4 → 0.1.5
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: 28f6ca8678072ec9a07eb4916c3fc3c54468a2a0
|
4
|
+
data.tar.gz: b0584ef2f9b892fa2fdcef05bd3ebba48e91ee3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2506b4dfd29a2096b0edce82cb176d1079daa84c2458d42510736f66acba1ca214e94e0fc0d03d4f36c94cdb100e93d7186c69a2e5626a9ebaba350cce678d3
|
7
|
+
data.tar.gz: da96e2efe228f047a55d036da7fc8d452760c69c4d7ef4d031738ce8c7e3793468dc6aab210e1745e37f3684cb82b5eebf9aa7913096d2c4293dc15cf0031cf0
|
data/example_box/Vagrantfile
CHANGED
@@ -10,7 +10,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
10
10
|
# please see the online documentation at vagrantup.com.
|
11
11
|
|
12
12
|
# Every Vagrant virtual environment requires a box to build off of.
|
13
|
-
config.vm.box = "
|
13
|
+
config.vm.box = "ubuntu/trusty64"
|
14
14
|
|
15
15
|
# The url from where the 'config.vm.box' box will be fetched if it
|
16
16
|
# doesn't already exist on the user's system.
|
@@ -142,8 +142,13 @@ module VagrantPlugins
|
|
142
142
|
error_class: Errors::GuestNFSError,
|
143
143
|
error_key: :nfs_create_mounts_failed
|
144
144
|
)
|
145
|
+
|
146
|
+
# Folder options
|
147
|
+
opts[:owner] ||= machine.ssh_info[:username]
|
148
|
+
opts[:group] ||= machine.ssh_info[:username]
|
149
|
+
|
145
150
|
machine.communicate.sudo(
|
146
|
-
"chown -R
|
151
|
+
"chown -R #{opts[:owner]}:#{opts[:group]} #{expanded_guest_path}",
|
147
152
|
error_class: Errors::GuestNFSError,
|
148
153
|
error_key: :nfs_create_mounts_failed
|
149
154
|
)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-nfs_guest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alan Garfield
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|