cookbook 'kibana5', '= 1.2.0'
kibana5
(20) Versions
1.2.0
-
Follow5
Installs/Configures kibana 5
cookbook 'kibana5', '= 1.2.0', :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 |
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.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.2.0 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.2.0 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.2.0 passed this metric
License Metric
1.2.0 passed this metric
No Binaries Metric
1.2.0 passed this metric
Testing File Metric
1.2.0 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.2.0 passed this metric
1.2.0 failed this metric
1.2.0 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.2.0 passed this metric
License Metric
1.2.0 passed this metric
No Binaries Metric
1.2.0 passed this metric
Testing File Metric
1.2.0 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.2.0 passed this metric
1.2.0 passed this metric
1.2.0 passed this metric
No Binaries Metric
1.2.0 passed this metric
Testing File Metric
1.2.0 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.2.0 passed this metric
1.2.0 passed this metric
1.2.0 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.2.0 passed this metric
1.2.0 passed this metric