filecluster 0.5.9 → 0.5.10
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 +4 -4
- data/lib/fc/storage.rb +2 -2
- data/lib/fc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d936b9120529ae788e9a2340a34b2a5576492084
|
4
|
+
data.tar.gz: 491e3d445f89f46faed3aa4b00b6ca5f6a0f1a78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a6c8f06aeb8733f5351d39c3cae6bef93014a00470a7b642212079a5ef575b6c91e8262c4146760f350e5240f57c5686617fdbc0bad494f6ba07c0355e7ccb4
|
7
|
+
data.tar.gz: fa7e7d3c9b4dec39789b69cc8f2d821a1e213c2b96bb56ae998a497e47b587cab9daaae22d7e96002737250d2476c9d3868cf74c51eca26d9c0739553d4cb6ba
|
data/lib/fc/storage.rb
CHANGED
@@ -124,7 +124,7 @@ module FC
|
|
124
124
|
raise r if $?.exitstatus != 0
|
125
125
|
else
|
126
126
|
local_path += '/' if File.stat(local_path).directory?
|
127
|
-
cmd = "ionice -c 2 -n 7 rsync -a #{FC::Storage.speed_limit_to_rsync_opt(speed_limit)}--rsync-path=\"#{recreate_dirs_cmd} && ionice -c 2 -n 7 rsync\" #{local_path.shellescape} #{self.host}:\"#{dst_path.shellescape}\""
|
127
|
+
cmd = "ionice -c 2 -n 7 rsync -e \"ssh -o StrictHostKeyChecking=no\" -a #{FC::Storage.speed_limit_to_rsync_opt(speed_limit)}--rsync-path=\"#{recreate_dirs_cmd} && ionice -c 2 -n 7 rsync\" #{local_path.shellescape} #{self.host}:\"#{dst_path.shellescape}\""
|
128
128
|
r = `#{cmd} 2>&1`
|
129
129
|
raise r if $?.exitstatus != 0
|
130
130
|
end
|
@@ -142,7 +142,7 @@ module FC
|
|
142
142
|
r = `#{cmd} 2>&1`
|
143
143
|
src_path += '/' if $?.exitstatus == 0
|
144
144
|
|
145
|
-
cmd = "ionice -c 2 -n 7 rsync -a #{FC::Storage.speed_limit_to_rsync_opt(speed_limit)}--rsync-path=\"ionice -c 2 -n 7 rsync\" #{self.host}:\"#{src_path.shellescape}\" #{local_path.shellescape}"
|
145
|
+
cmd = "ionice -c 2 -n 7 rsync -e \"ssh -o StrictHostKeyChecking=no\" -a #{FC::Storage.speed_limit_to_rsync_opt(speed_limit)}--rsync-path=\"ionice -c 2 -n 7 rsync\" #{self.host}:\"#{src_path.shellescape}\" #{local_path.shellescape}"
|
146
146
|
r = `#{cmd} 2>&1`
|
147
147
|
raise r if $?.exitstatus != 0
|
148
148
|
end
|
data/lib/fc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: filecluster
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mysql2
|