vagrant-sptsync 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/vagrant-sptsync/commands/root.rb +11 -5
- 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
|
+
YTRmMmQxMzI1NDdmYWE0ZmQwNTk5NzU4OWM4YzY1YmY3NjlmNTAzOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NGY2Nzk0ZWUxNWZmYmM2NGQ0MzNhNTNhZWM2MGUxZGVlNzYyNzJmNw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YWZkYjU3ZGJkZWJkZTc2ZGQ2OTQ5ZGY4ZmQ3ZDMzMmE3OWZiMDk2ZmFkN2Iy
|
10
|
+
ODhlZjMxOWE5OWI5ZGIxOTBjOWI1ZjE1ZDU0ZTI0YzAyMWM4MTlhZTU2OTA5
|
11
|
+
MDcwYWMzYmEwMjA1Y2ZiM2FlNWI5ZmY3MzVlZWMzMGZhZDQ1NzA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NjdmNDdjZTlkZDk0OTI2YWM1Y2Y3OTI3M2Q2NmNkNTIwZDUyYzJjNWFmZmU2
|
14
|
+
N2YzNWRlOGRiMWM0ZGVhYTNiMzRjZjIzNTA5ZmYzNTIxMDVlNWNiZWQyZDc3
|
15
|
+
MmQ2ZjJhZGMyZWU2NTA4MWUyMWFmMzI4YTQ1MzBkM2VhMTBjZDg=
|
@@ -44,12 +44,18 @@ module VagrantPlugins
|
|
44
44
|
|
45
45
|
# # Initialize and execute the command class
|
46
46
|
# command_class.new(@sub_args, @env).execute
|
47
|
-
with_target_vms() do |
|
48
|
-
|
49
|
-
|
50
|
-
|
47
|
+
with_target_vms(nil, single_target: true) do |vm|
|
48
|
+
vm.config.exec.finalize! # TODO: do we have to call it explicitly?
|
49
|
+
|
50
|
+
command = "ls"
|
51
|
+
|
52
|
+
@logger.info("Executing single command on remote machine: #{command}")
|
53
|
+
ssh_opts = { extra_args: ['-q'] } # make it quiet
|
54
|
+
env = vm.action(:ssh_run, ssh_run_command: command, ssh_opts: ssh_opts)
|
55
|
+
|
56
|
+
status = env[:ssh_run_exit_status] || 0
|
57
|
+
return status
|
51
58
|
end
|
52
|
-
0
|
53
59
|
end
|
54
60
|
|
55
61
|
# Prints the help out for this command
|