luban-elasticsearch 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b371bbc0111a8b46fde780031c66149e1f2a7d97
4
- data.tar.gz: 7ecf5f64b9975b93e9598c035c650ddf4830dcca
3
+ metadata.gz: 94a6d442cde9047d744854756214ba824cee5514
4
+ data.tar.gz: 78cd54cf02e1d71df6c20b7de8d970e34fc8002a
5
5
  SHA512:
6
- metadata.gz: a4a11c0dfe1390bb354952fd5b35fa90f92af42540f35c6878e1635395be6eab0d6123bdcaa0704f72fbfcbd3c236d9f990a137fcc94000a79ac2958b6b2e084
7
- data.tar.gz: de30203dbef5ed12b93854d4b3f575a3608774e94afedef7463856b5517d46c975cd985337368bc79a237878d9ab595e75b5ca5fcdfb9f25d12338c0c2342436
6
+ metadata.gz: 458254f9a3e6bac8a9b9c0ccc707337c0499370c8b5c2f4ae0509a80ad007ac009109449bd345ea74dda27af8204795e67d1b8e056ac8b84ebd2a308e8ab0bcc
7
+ data.tar.gz: ee9295dc01fca275494570d591e9edc75ff9f6b7ea84836e7aecebb5c3f86074a17767bd66f0bedb86d411ce2bc5383e3f866f4b974342a676960e71a5c33032
data/CHANGLOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Change log
2
2
 
3
+ ## Version 0.1.3 (Oct 12, 2016)
4
+
5
+ Minor enhancements:
6
+ * Set up FileAppender instead of DailyRollingFileAppender in logging.yml of Elasticsearch
7
+ * Added logrotate configuration for Elasticsearch
8
+ * Bump up gem dependency of Luban to version 0.9.0
9
+
3
10
  ## Version 0.1.2 (Sept 20, 2016)
4
11
 
5
12
  Minor enhancements:
@@ -0,0 +1,16 @@
1
+ # Elasticsearch logrotate configuration
2
+
3
+ <%= log_path.join("*.log") %> {
4
+ daily
5
+ maxsize 5M
6
+ maxage 14
7
+ rotate <%= 14 * 24 * (60 / 10) %>
8
+ missingok
9
+ compress
10
+ compresscmd <%= `which gzip`.chomp %>
11
+ delaycompress
12
+ dateext
13
+ dateformat -%Y%m%d-%H%M%S
14
+ copytruncate
15
+ olddir archived_logs
16
+ }
@@ -42,12 +42,19 @@ appender:
42
42
  conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
43
43
 
44
44
  file:
45
- type: dailyRollingFile
45
+ type: file
46
46
  file: ${path.logs}/${cluster.name}.log
47
- datePattern: "'.'yyyy-MM-dd"
48
47
  layout:
49
48
  type: pattern
50
- conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %.10000m%n"
49
+ conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
50
+
51
+ #file:
52
+ #type: dailyRollingFile
53
+ #file: ${path.logs}/${cluster.name}.log
54
+ #datePattern: "'.'yyyy-MM-dd"
55
+ #layout:
56
+ #type: pattern
57
+ #conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %.10000m%n"
51
58
 
52
59
  # Use the following log4j-extras RollingFileAppender to enable gzip compression of log files.
53
60
  # For more information see https://logging.apache.org/log4j/extras/apidocs/org/apache/log4j/rolling/RollingFileAppender.html
@@ -2,7 +2,7 @@ module Luban
2
2
  module Deployment
3
3
  module Packages
4
4
  class Elasticsearch
5
- VERSION = '0.1.2'
5
+ VERSION = '0.1.3'
6
6
  end
7
7
  end
8
8
  end
@@ -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.8.0"
23
+ spec.add_dependency 'luban', ">= 0.9.0"
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.2
4
+ version: 0.1.3
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-09-20 00:00:00.000000000 Z
11
+ date: 2016-10-12 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.8.0
19
+ version: 0.9.0
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.8.0
26
+ version: 0.9.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -88,6 +88,7 @@ files:
88
88
  - lib/luban/deployment/packages/elasticsearch/configurator.rb
89
89
  - lib/luban/deployment/packages/elasticsearch/controller.rb
90
90
  - lib/luban/deployment/packages/elasticsearch/installer.rb
91
+ - lib/luban/deployment/packages/elasticsearch/templates/elasticsearch.logrotate
91
92
  - lib/luban/deployment/packages/elasticsearch/templates/elasticsearch.monitrc.erb
92
93
  - lib/luban/deployment/packages/elasticsearch/templates/elasticsearch.yml.erb
93
94
  - lib/luban/deployment/packages/elasticsearch/templates/logging.yml
@@ -114,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
115
  version: '0'
115
116
  requirements: []
116
117
  rubyforge_project:
117
- rubygems_version: 2.5.1
118
+ rubygems_version: 2.6.7
118
119
  signing_key:
119
120
  specification_version: 4
120
121
  summary: Elasticsearch support for Luban