katar 2.1.0 → 2.1.1

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: 828f31435879a0d4ecc0074f69bd7d9d345e751e
4
- data.tar.gz: 25cf117b9a960f2bc591493c0843d35f1726c265
3
+ metadata.gz: 204c606c250a6cdf1c96e4467bbdc943a87fe3b4
4
+ data.tar.gz: c99bcd2e6e706669193132a069aa1b780aa881c1
5
5
  SHA512:
6
- metadata.gz: b079973aa3279bd79d8da9976be5fd677fcfd817ac6f72fc85ab820bcb93b4b296ac14f1dcc36d9fe23b80e322508f60f0fa0da64267bf7a83f26a30b8f08097
7
- data.tar.gz: 8bb5176ff7fea11a907db25f3f67ccce42b4618962b9e983dbaa1b8fd748a3b4025f414a246d99096a1d580317df902a2836f8d884b173697be2a859cb913e2b
6
+ metadata.gz: de07cb3f8812eb4036deabc3448575e20609aa2f75c73d0f08b46bb44fdcb25b1c3eeb2565b9841b7381a30ff608b2af5d7c9a8a78ec8eaab556fe718e64512f
7
+ data.tar.gz: feed76224bf49ac84d9b4c5add248af5c74dc4d37a3594614f41fc2eaa2a13b1aaeb4cd217e83d75a66b2774a18736d7eff94a49159af057801a2511f1d904f1
@@ -51,8 +51,8 @@ module Katar
51
51
  config.proxy.http = proxy["http"] ||= nil
52
52
  config.proxy.https = proxy["https"] ||= nil
53
53
  end
54
- end
55
-
54
+ end
55
+
56
56
  # Standardize Ports Naming Schema
57
57
  if (settings.has_key?("ports"))
58
58
  settings["ports"].each do |port|
@@ -112,9 +112,9 @@ module Katar
112
112
  mount_opts = []
113
113
 
114
114
  if (folder["type"] == "nfs")
115
- mount_opts = folder["mount_options"] ? folder["mount_options"] : ['actimeo=1', 'nolock']
115
+ mount_opts = folder["mount_options"] ? folder["mount_options"] : [ 'actimeo=' << (folder["version"] ? folder["version"] : '1'), 'nolock']
116
116
  elsif (folder["type"] == "smb")
117
- mount_opts = folder["mount_options"] ? folder["mount_options"] : ['vers=3.02', 'mfsymlinks']
117
+ mount_opts = folder["mount_options"] ? folder["mount_options"] : [ 'vers=' << (folder["version"] ? folder["version"] : '2.1'), 'mfsymlinks']
118
118
  end
119
119
 
120
120
  # For b/w compatibility keep separate 'mount_opts', but merge with options
@@ -1,3 +1,3 @@
1
1
  module Katar
2
- VERSION = "2.1.0"
2
+ VERSION = "2.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: katar
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - AcMitch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-25 00:00:00.000000000 Z
11
+ date: 2016-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec