cookbook 'kibana5', '= 1.3.1'
kibana5
(20) Versions
1.3.1
-
Follow5
Installs/Configures kibana 5
cookbook 'kibana5', '= 1.3.1', :supermarket
knife supermarket install kibana5
knife supermarket download kibana5
chef-kibana5
Description
This cookbook installs and configures Kibana version 5.2.0 and above.
Requirements
Cookbooks
Platforms
Tested only on CentOS 7 and Ubuntu 16.04. Should work on any modern Linux OS with systemd.
Recipes
-
default.rb
- Runskibana5_install
andkibana5_configure
with default options.
Resources
kibana5_install
This resource installs Kibana 5 binaries.
Attributes
Attribute | Description | Type | Default |
---|---|---|---|
name |
Simply name. Currently not used. | String | |
version |
Version of Kibana. 5.2.0 and above are supported. | String | 5.4.1 |
install_method |
Installation method. Currently only release is supported. This means installation from official binaries provided by Elastic. |
String | release |
base_dir |
Base directory for Kibana binaries. | String | /opt/kibana |
svc_user |
Kibana daemon user. | String | kibana |
svc_group |
Kibana daemon group. | String | kibana |
kibana5_configure
This resource configures Kibana daemon and main configuration file.
Attributes
Attribute | Description | Type | Default |
---|---|---|---|
svc_name |
Name of the daemon | String | |
svc_user |
Kibana daemon user. | String | kibana |
svc_group |
Kibana daemon group. | String | kibana |
configuration |
Hash with configuration file values. See examples. | Hash | |
template_cookbook |
Override template from other cookbook. | String | kibana5 |
examples of configuration hashes:
{ 'server.port' => 5601, 'server.host' => 'localhost', 'elasticsearch.url' => 'http://localhost:9200', }
{ 'server.port' => 5601, 'server.host' => 'localhost', 'server.name' => 'My-Kibana', 'elasticsearch.url' => 'http://localhost:9200', 'logging.dest' => '/var/log/kibana.log', 'logging.verbose' => 'true', 'elasticsearch.requestHeadersWhitelist' => '[ authorization ]', }
Usage
It is recommended to use resources directly.
Examples
You may see examples in fixture cookbook:
[test/fixtures/kibana5-test/recipes/default.rb](test/fixtures/app-cloud-test/recipes/default.rb)
[test/fixtures/kibana5-test/recipes/nginx.rb](test/fixtures/app-cloud-test/recipes/nginx.rb)
Authors
- Author:: Azat Khadiev (anuriq@gmail.com)
Dependent cookbooks
ark >= 0.0.0 |
systemd ~> 2.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
1.3.1 (November 27, 2017)
- Add option to use custom configuration template from wrapper cookbook;
1.3.0 (October 16, 2017)
- Add version 5.6.2 of Kibana;
1.2.0 (August 20, 2017)
- Add version 5.5.2 of Kibana;
- Avoid version 3.0 of
systemd
cookbook till it stabilizes.
1.1.2 (July 12, 2017)
- Add reload setting for systemd unit configuration (@kazjote);
- Fix according to the newest
foodcritic
.
1.1.1 (June 20, 2017)
- Fix use of attributes for default values of resources.
1.1.0 (June 8, 2017)
- Rethink versions and urls placement, move them to helpers instead of attributes;
- Add some default attributes to simplify configuration control;
- Remove redundant tests to simplify contributing;
- Add support for Kibana
5.4.1
and set default version to5.4.1
.
1.0.1 (May 8, 2017)
- Add support for Kibana
5.4.0
. - Set default version of Kibana to
5.4.0
.
1.0.0 (April 7, 2017)
- Set default version of Kibana to
5.3.0
. - Change home dir for
kibana
user, this won't run on nodes converged with previous versions, that's why major version is incremented. - Add Ubuntu 16.04 for CI testing suites.
- Configure Travis to ensure CI.
0.2.2 (March 9, 2017)
- Set default version of Kibana to 5.2.2
- Add some default attributes
0.2.1 (February 17, 2017)
- Set default version of Kibana to 5.2.1
0.2.0 (February 14, 2017)
- Initial cookbook. See README.
Collaborator Number Metric
1.3.1 passed this metric
Contributing File Metric
1.3.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.3.1 failed this metric
FC108: Resource should not define a property named 'name': kibana5/resources/install.rb:21
Run with Foodcritic Version 12.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
1.3.1 passed this metric
No Binaries Metric
1.3.1 passed this metric
Testing File Metric
1.3.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.3.1 passed this metric
1.3.1 passed this metric
1.3.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.3.1 failed this metric
FC108: Resource should not define a property named 'name': kibana5/resources/install.rb:21
Run with Foodcritic Version 12.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
1.3.1 passed this metric
No Binaries Metric
1.3.1 passed this metric
Testing File Metric
1.3.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.3.1 passed this metric
1.3.1 failed this metric
Run with Foodcritic Version 12.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.3.1 passed this metric
No Binaries Metric
1.3.1 passed this metric
Testing File Metric
1.3.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.3.1 passed this metric
1.3.1 passed this metric
1.3.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.3.1 passed this metric
1.3.1 passed this metric