vagrant-managed-servers 0.6.1 → 0.6.2

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: 9ff5143d58f5a2edcfa03ca916fbf19b8b72bb18
4
- data.tar.gz: 3d508541cf6cd3655ec1cf3da30f0a2efbd26903
3
+ metadata.gz: 642be23bb2dc3eae5795ff4916dc95d061d8a886
4
+ data.tar.gz: f35c644748e1ad9fba5a7f62b7efa019b23bdf59
5
5
  SHA512:
6
- metadata.gz: d2c9f39d7a21a9a3c6756ba567f29dfc1b8c7ff2362af1e9318da099376fb63092b454f6e6a49223ab73a1eaeaf6cb29753920f9e8f97f935008c6960ad5277b
7
- data.tar.gz: 1fab8e603951b1fb3c2459895142f1ab20793b5dd7fc2b4d9baa6cdf1e3704ae61cfdbae7af569fc8a1666f005b6c71c1e9f1a8030acc125370794b9269453dc
6
+ metadata.gz: c6e9125a1770c924679aa18c71dc384ba0d9ae285aa202a4e625e933fb49b0f9cd76b4ba3ae3f1d0f6ef05e27b0a590ddbd5399ecbeb7fccae509fa755e7b87a
7
+ data.tar.gz: 0f8f5a8e007d996fea2c627ff7f6824377a18108169b7edd1b9a82720c94fd698cc24520839ec914015982ee8328e67add9a5d4dab7dff6019467d5fb81d63bf
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
 
2
2
  # Changelog
3
3
 
4
+ ## 0.6.2 (released 2015-04-30)
5
+
6
+ * fix bug where WinRM file sync fails occasionally (retry 3 times) ([#43](https://github.com/tknerr/vagrant-managed-servers/issues/43), thanks @chrisbaldauf!)
7
+ * fix bug where only the first folder is synced on Windows ([#44](https://github.com/tknerr/vagrant-managed-servers/issues/44), thanks @chrisbaldauf!)
8
+
4
9
  ## 0.6.1 (released 2015-04-02)
5
10
 
6
11
  * quote ssh usernames to support active directory style `domain/user` logins ([#38](https://github.com/tknerr/vagrant-managed-servers/issues/38), thanks @chrisbaldauf!)
@@ -13,6 +13,7 @@ module VagrantPlugins
13
13
  # AWS instance.
14
14
  class SyncFolders
15
15
  include Vagrant::Util::ScopedHashOverride
16
+ include Vagrant::Util::Retryable
16
17
 
17
18
  def initialize(app, env)
18
19
  @app = app
@@ -39,9 +40,14 @@ module VagrantPlugins
39
40
  :hostpath => hostpath,
40
41
  :guestpath => guestpath))
41
42
  env[:machine].communicate.tap do |comm|
42
- comm.upload(hostpath, guestpath)
43
+ # When syncing many files, we've see SEC_E_INVALID_TOKEN errors
44
+ # that appear to be transient (try again and it goes away). Let's
45
+ # retry a few times to add some robustness.
46
+ retryable(tries: 3, sleep: 1) do
47
+ comm.upload(hostpath, guestpath)
48
+ end
43
49
  end
44
- return
50
+ next
45
51
  end
46
52
 
47
53
  unless Vagrant::Util::Which.which('rsync')
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module ManagedServers
3
- VERSION = "0.6.1"
3
+ VERSION = "0.6.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-managed-servers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Torben Knerr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-02 00:00:00.000000000 Z
11
+ date: 2015-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -124,8 +124,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  version: 1.3.6
125
125
  requirements: []
126
126
  rubyforge_project: vagrant-managed-servers
127
- rubygems_version: 2.4.5
127
+ rubygems_version: 2.4.4
128
128
  signing_key:
129
129
  specification_version: 4
130
130
  summary: Enables Vagrant to ssh into and provision managed servers.
131
131
  test_files: []
132
+ has_rdoc: