vagrant-rsync-only-changed 0.8.3 → 0.9.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a7c5455b92a2ce5546f572f1deca758c34f6681e
4
- data.tar.gz: 12228d11eaffe01ccd951ba3bfd8327511a2dae6
3
+ metadata.gz: fb8219a78137d8909d78d3e8a17a8322d2d81f47
4
+ data.tar.gz: 24fd186dcdf8baee45257022da0328672b884a8a
5
5
  SHA512:
6
- metadata.gz: d186e6095fd4650975b1644fedfe1cae751a7f88cf94d8a32db9df977b24afda8a894c59a7f42dec9001a0c61e149c7c0aecad16d012f1dd0e4c2742c41906e6
7
- data.tar.gz: 98a2cbd14f6e75812579e4825d495c954c8ddbf89fa1622361e894a52bfa856e0e360c5338a3fe078f6962020f8cd70619e0d2fe964f4bfe408294409d7175b4
6
+ metadata.gz: c2b9fa4677e1c298b6f625dee8558791fb7d019c6929f3aab80c730a9f3dbbe8bcdb9b825c7ad5e47e30b209eadf6afd96392a5b07441ecf38f155e6aefedbf0
7
+ data.tar.gz: 2e2a54fed380fcc96c64fe55e20f17c2f1832ed34c85da1873abe9ee490c0c1a1838e785e100dc132c04507993688d6461bc00418c45ccfe54a585c479dec7cf
@@ -77,9 +77,17 @@ module VagrantPlugins
77
77
  proxy_command = "-o ProxyCommand='#{ssh_info[:proxy_command]}' "
78
78
  end
79
79
 
80
+ # Create the path for the control sockets. We used to do this
81
+ # in the machine data dir but this can result in paths that are
82
+ # too long for unix domain sockets.
83
+ controlpath = File.join(Dir.tmpdir, "ssh.#{rand(1000)}")
84
+
80
85
  rsh = [
81
86
  "ssh -p #{ssh_info[:port]} " +
82
87
  proxy_command +
88
+ "-o ControlMaster=auto " +
89
+ "-o ControlPath=#{controlpath} " +
90
+ "-o ControlPersist=10m " +
83
91
  "-o StrictHostKeyChecking=no " +
84
92
  "-o IdentitiesOnly=true " +
85
93
  "-o UserKnownHostsFile=/dev/null",
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module RsyncOnlyChanged
3
- VERSION = "0.8.3"
3
+ VERSION = "0.9.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-rsync-only-changed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Flávio Botelho