vagrant-babushka 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -2
- data/lib/vagrant-babushka/provisioner.rb +3 -2
- data/lib/vagrant-babushka/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -13,7 +13,8 @@ In Vagrant file set provisioner to `:babushka`
|
|
13
13
|
|
14
14
|
config.vm.provision :babushka do |b|
|
15
15
|
# Path for local deps, relative to Vagrantfile.
|
16
|
-
# Syncronized to '/home/
|
16
|
+
# Syncronized to '/home/ssh_user_name/babushka-deps' on guest machine.
|
17
|
+
# 'ssh_user_name' here is 'vagrant' by default or any other name you use when connecting through ssh.
|
17
18
|
b.local_deps_path = '.deps'
|
18
19
|
# add local dep which is defined in '.deps/htop.rb' with name 'htop'
|
19
20
|
b.local_dep 'htop'
|
@@ -32,7 +33,8 @@ Also you can add options to deps giving hash as third parameter
|
|
32
33
|
5. Create new Pull Request
|
33
34
|
|
34
35
|
## Thanks
|
35
|
-
[patcon](https://github.com/patcon)
|
36
|
+
[patcon](https://github.com/patcon)
|
37
|
+
[wakeless](https://github.com/wakeless)
|
36
38
|
|
37
39
|
## License
|
38
40
|
|
@@ -7,10 +7,11 @@ module VagrantPlugins
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def configure(root_config)
|
10
|
+
@username = @machine.ssh_info[:username]
|
10
11
|
@hostname = root_config.vm.hostname
|
11
12
|
if @config.local_deps_path
|
12
13
|
local_path = @config.local_deps_path
|
13
|
-
remote_path =
|
14
|
+
remote_path = "/home/#{@username}/babushka-deps"
|
14
15
|
opts = {id: 'babushka_deps', nfs: false}
|
15
16
|
root_config.vm.synced_folder local_path, remote_path, opts
|
16
17
|
end
|
@@ -44,4 +45,4 @@ module VagrantPlugins
|
|
44
45
|
|
45
46
|
end
|
46
47
|
end
|
47
|
-
end
|
48
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-babushka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-09-03 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Vagrant provisioner plugin for using Babushka
|
15
15
|
email:
|