vagrant-sptsync 0.0.28 → 0.0.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/vagrant-sptsync/commands/root.rb +15 -10
- data/lib/vagrant-sptsync/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YzU2YTQ0OWNmYzYxZDJmMmIzMzlkYWFjYTM0MTJiNTcwZmYwMzQ2NQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YmUyY2Y4MDI3Njg1ZjhkZjNhNDNlODdiMGJhMGQ5YjFhZmFlZWRjNA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MjdlYjQ2NWVmYzZkYTQ5MGRhMTg4YjQwNzhkYjIyYzRhYjc2NjNiYjQ5NTY4
|
10
|
+
MmQ5M2E4NDVkMWQzZWFmMWVkMzFiMTE5MzcxMjYzOTExMmIxZDhkYjhlOGUy
|
11
|
+
NTY5NmJmODllZTU4YjBjN2RhOTM2ZTIyZjU4MDczYzJjMGE2NmY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NGQ0ZWFiZjAxOTg2NTEyZDFlNmU5OWZhZDZlOTFhODRhZTQxZTk4NzNkYmRh
|
14
|
+
NGYxNWZjM2U3ZjY0MjA2YjZiNTllNjZiYmQ5YjNmZjFlMDEyODY4MDMzZmQ2
|
15
|
+
MmJiNmVjMmQ3NTNhYzkwMTdkOWFkMDIxOTZlMDI4NDBjYWI2YTc=
|
@@ -44,22 +44,27 @@ module VagrantPlugins
|
|
44
44
|
|
45
45
|
self.validate
|
46
46
|
|
47
|
-
commands.each do |message, command|
|
48
|
-
puts message
|
49
|
-
end
|
50
|
-
|
51
47
|
with_target_vms(nil, single_target: true) do |vm|
|
52
48
|
vm.config.exec.finalize! # TODO: do we have to call it explicitly?
|
53
49
|
|
54
|
-
command = "drush @#{@options[:site]} status"
|
50
|
+
# command = "drush @#{@options[:site]} status"
|
55
51
|
|
56
|
-
ssh_opts = { extra_args: [] }
|
52
|
+
# ssh_opts = { extra_args: [] }
|
57
53
|
|
58
|
-
env = vm.action(:ssh_run, ssh_run_command: command, ssh_opts: ssh_opts)
|
59
|
-
puts env
|
54
|
+
# env = vm.action(:ssh_run, ssh_run_command: command, ssh_opts: ssh_opts)
|
55
|
+
# puts env
|
56
|
+
|
57
|
+
# status = env[:ssh_run_exit_status] || 0
|
58
|
+
# return status
|
59
|
+
|
60
|
+
commands.each do |message, command|
|
61
|
+
puts message
|
62
|
+
ssh_opts = { extra_args: [] }
|
63
|
+
env = vm.action(:ssh_run, ssh_run_command: command, ssh_opts: ssh_opts)
|
64
|
+
status = env[:ssh_run_exit_status] || 0
|
65
|
+
break if status != 0
|
66
|
+
end
|
60
67
|
|
61
|
-
status = env[:ssh_run_exit_status] || 0
|
62
|
-
return status
|
63
68
|
end
|
64
69
|
end
|
65
70
|
|