cookbook 'kibana5-gm', '= 1.1.0'
kibana5-gm (13) Versions 1.1.0 Follow0
Installs/Configures kibana
cookbook 'kibana5-gm', '= 1.1.0', :supermarket
knife supermarket install kibana5-gm
knife supermarket download kibana5-gm
Kibana Library Cookbook
A library cookbook for installing kibana 5 .
This is a library cookbook, you can use you included kibana5-gm::install
recipe to install kibana, but it is more likely to be really useful for you to call the LWRPs directly from your own cookbook. You can use the kibana5-gm::install
recipe as a guide and customize to your needs.
This cookbook is tested and works well with the logstash
and the elasticsearch
cookbooks found on the chef community site.
If you'd like to point kibana to a cluster of Elasticsearch servers instead of a single node, please review the most current recommended instructions at:
https://www.elastic.co/guide/en/kibana/current/production.html#load-balancing
Attributes
As with most cookbooks I write, this one is hopefully flexible enough to be wrapped by allowing you to override as much as possible
See attributes/*.rb
for attributes ( documented inline )
Usage
kibana5-gm::default
The default recipe does nothing except for allow access to the LWRPs.
kibana5-gm::install
This is designed to be an example recipe to show you how you might write a wrapper cookbook. However it should be usable for a
simple install of kibana.
- install kibana5
/etc/kibana/XXXX
and create a symlink calledcurrent
in the same directory. - install
nginx
and serve the kibana application
If you wish to swap apache
for nginx
, simply set node['kibana']['webserver']
to apache
in a role/environment/node somewhere.
If you don't want this cookbook to handle the webserver config simply set node['kibana']['webserver']
to ''
in a role/environment/node somewhere.
Please note that in this case you have to set node['kibana']['user']
.
Both cookbooks, by default, will configure the appropriate proxy to your ElasticSearch server such that you don't have to expose it to the world.
NOTE
There is NO security enabled by default on any of the content being served.
If you would like to modify the nginx
or apache
parameters, you should:
- create your own cookbook i.e.
my-kibana
- copy the template for the webserver you wish to use to your cookbook
- modify the template as you see fit (add auth, setup ssl)
- use the appropriate webserver template attributes to point to your cookbook and template
kibana::examples
examples of using the LWRPs. Don't use this directly.
Testing
kitchen
$ bundle install
$ bundle exec berks install
$ bundle exec rake style spec # spec and style checks
$ bundle exec rake kitchen # integration testing
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write you change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
--
bundle exec strainer test
- Submit a Pull Request using Github
License and Authors
Primary authors:
- Gm Murugan gmmurugan@gmail.com
Courtesy
- John E. Vincent lusis.org+github.com@gmail.com
- Paul Czarkowski username.taken@gmail.com
Contributors:
- Jeff Hubbard (@lord2800)
- @mouadino
- Ben P (@benwtr)
- Chris Ferry (@chrisferry)
- Ian Neubert (@ianneub)
- kellam (@klamontagne)
- Martin Smith (@martinb3)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Dependent cookbooks
git >= 0.0.0 |
nginx >= 0.0.0 |
apache2 >= 0.0.0 |
ark >= 0.0.0 |
libarchive >= 0.0.0 |
java >= 0.0.0 |
runit >= 0.0.0 |
compat_resource >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
CHANGELOG for kibana
This file is used to list changes made in each version of kibana.
1.1.0:
- Bug Fixes and release of kibana5-gm
1.0.0:
- Initial release of kibana5-gm from kibana_lwrp
Collaborator Number Metric
1.1.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.1.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 http://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.1.0 failed this metric
FC064: Ensure issues_url is set in metadata: kibana5-gm/metadata.rb:1
FC065: Ensure source_url is set in metadata: kibana5-gm/metadata.rb:1
Run with Foodcritic Version 8.2.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
1.1.0 passed this metric
Testing File Metric
1.1.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 http://github.com/user/repo, and your repo must contain a TESTING.md file
1.1.0 failed this metric
1.1.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 http://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.1.0 failed this metric
FC064: Ensure issues_url is set in metadata: kibana5-gm/metadata.rb:1
FC065: Ensure source_url is set in metadata: kibana5-gm/metadata.rb:1
Run with Foodcritic Version 8.2.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
1.1.0 passed this metric
Testing File Metric
1.1.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 http://github.com/user/repo, and your repo must contain a TESTING.md file
1.1.0 failed this metric
FC065: Ensure source_url is set in metadata: kibana5-gm/metadata.rb:1
Run with Foodcritic Version 8.2.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.1.0 passed this metric
Testing File Metric
1.1.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 http://github.com/user/repo, and your repo must contain a TESTING.md file
1.1.0 failed this metric