cookbook 'kibana5', '= 1.0.1'
kibana5
(20) Versions
1.0.1
-
Follow5
Installs/Configures kibana 5
cookbook 'kibana5', '= 1.0.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.0 |
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 >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
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.0.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.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.0.1 failed this metric
FC069: Ensure standardized license defined in metadata: kibana5/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
1.0.1 passed this metric
No Binaries Metric
1.0.1 passed this metric
Testing File Metric
1.0.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.0.1 passed this metric
1.0.1 failed this metric
1.0.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.0.1 failed this metric
FC069: Ensure standardized license defined in metadata: kibana5/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
1.0.1 passed this metric
No Binaries Metric
1.0.1 passed this metric
Testing File Metric
1.0.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.0.1 passed this metric
1.0.1 failed this metric
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.1 passed this metric
No Binaries Metric
1.0.1 passed this metric
Testing File Metric
1.0.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.0.1 passed this metric
1.0.1 passed this metric
1.0.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.0.1 passed this metric
1.0.1 passed this metric