luban-elasticsearch 0.1.4 → 0.1.5
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/CHANGLOG.md +7 -0
- data/lib/luban/deployment/packages/elasticsearch/base.rb +0 -5
- data/lib/luban/deployment/packages/elasticsearch/installer.rb +5 -1
- data/lib/luban/deployment/packages/elasticsearch/templates/elasticsearch.logrotate.erb +2 -2
- data/lib/luban/deployment/packages/elasticsearch/templates/elasticsearch.yml.erb +1 -1
- data/lib/luban/deployment/packages/elasticsearch/version.rb +1 -1
- data/luban-elasticsearch.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d82fd94764a5ed6bb5d23a835e40546a9e9f372c
|
4
|
+
data.tar.gz: 4ea442ef569dd2a5d52f42d6bb9cca14199d017e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc2d2c3104183d735fc50caf1c3077857c16d7cb99915ee50ff325534b59a702ca75e4ce3b23ce93672bb734f960400b2545969f10c19a551b55356bd8ddfd2a
|
7
|
+
data.tar.gz: 2c501e2aee218c4a4f1513a518f69fbf5632da881e2efc8144b3b2faed48aab4dcf9a44e1c9375e5f35b0372e6ecfd92461349d92cc44b5e0de7096fb1341dcc
|
data/CHANGLOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Change log
|
2
2
|
|
3
|
+
## Version 0.1.5 (Oct 19, 2016)
|
4
|
+
|
5
|
+
Minor enhancements:
|
6
|
+
* Created symlinks for log_path to elasticsearch logs
|
7
|
+
* Utilized new parameters, #logrotate_max_age, #logrotate_count, from Luban to unify logrotate setup
|
8
|
+
* Bump up gem dependency of Luban to version 0.9.8
|
9
|
+
|
3
10
|
## Version 0.1.4 (Oct 17, 2016)
|
4
11
|
|
5
12
|
Bug fixes:
|
@@ -23,7 +23,6 @@ module Luban
|
|
23
23
|
|
24
24
|
def init
|
25
25
|
super
|
26
|
-
linked_dirs.delete('log')
|
27
26
|
linked_dirs.push('data', 'logs')
|
28
27
|
linked_files.push('elasticsearch.yml', 'logging.yml')
|
29
28
|
end
|
@@ -34,6 +33,11 @@ module Luban
|
|
34
33
|
execute(:mv, build_path.join('*'), '.', ">> #{install_log_file_path} 2>&1")
|
35
34
|
end
|
36
35
|
end
|
36
|
+
|
37
|
+
def create_symlinks!
|
38
|
+
super
|
39
|
+
assure_symlink(log_path, install_path.join('logs'))
|
40
|
+
end
|
37
41
|
end
|
38
42
|
end
|
39
43
|
end
|
data/luban-elasticsearch.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
22
|
spec.required_ruby_version = ">= 2.1.0"
|
23
|
-
spec.add_dependency 'luban', ">= 0.9.
|
23
|
+
spec.add_dependency 'luban', ">= 0.9.8"
|
24
24
|
|
25
25
|
spec.add_development_dependency "bundler", "~> 1.12"
|
26
26
|
spec.add_development_dependency "rake", "~> 10.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: luban-elasticsearch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rubyist Chi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: luban
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.9.
|
19
|
+
version: 0.9.8
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.9.
|
26
|
+
version: 0.9.8
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|