Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

kibana_lwrp (7) Versions 3.0.2

Installs/Configures kibana

Berkshelf/Librarian
Policyfile
Knife
cookbook 'kibana_lwrp', '~> 3.0.2'
cookbook 'kibana_lwrp', '~> 3.0.2', :supermarket
knife cookbook site install kibana_lwrp
knife cookbook site download kibana_lwrp
README
Dependencies
Changelog
Quality

Kibana Library Cookbook

A library cookbook for installing kibana 4.

If you wish to install Kibana3 try using the '1.3.x' releases of the cookbook.

This is a library cookbook, you can use you included kibana_lwrp::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 kibana_lwrp::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

kibana_lwrp::default

The default recipe does nothing except for allow access to the LWRPs.

kibana_lwrp::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 kibana4 /opt/kibana/XXXX and create a symlink called current 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:

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.

CHANGELOG for kibana

This file is used to list changes made in each version of kibana.

3.0.2

  • Fix a notification that was to runit_service[nginx] instead of service[nginx].

3.0.1

  • Fix a leftover poise relic -- default_action
  • Remove notifying_block that remained

3.0.0

  • Fix a number of Rubocop and Foodcritic complaints
  • Update README.md for contributors, documentation (#26)
  • Don't break kibana.yml template when values are nil (#111)
  • Warn about URL and Version attributes when used incorrectly (#107)
  • Remove poise, add provides DSL, and update test fixture to ES 2.1.0
  • Add kibana_port to apache kibana web resource
  • Make default_app_id configurable via attribute (#101)
  • Remove duplicate slashes in paths (#102)
  • Bump kibana file method to 4.2.1
  • Begin testing with Ubuntu 14.04 instead of 12.04

2.0.6

  • fix apache template

2.0.4

  • fix tests
  • support kibana 4 official

2.0.2

  • revert use inline resources

2.0.0

  • change cookbook name to kibana_lwrp
  • support kibana 4 beta

1.4.1

  • bugfix - could not update kibana because of remote_file name

1.4.0

  • initial support for kibana4
  • removed support for kibana3 ( use 1.3.x releases )

1.3.2:

  • mostly bugfixes

1.3.0:

  • big rewrite to act as library cookbook.
  • not sure if it will be backwards compat yet.

1.2.1:

  • proxy backend healthcheck
  • update proxy templates to match kibana master
  • changed config.js template to pull from attributes

1.2.0:

  • Add ability to choose install type of either git repo or zipfile
  • Add web_dir attribute to handle kibana location for different install types
  • Add attributes for http scheme for both webserver and es, helpful if they're managed outside of this cookbook.
  • Some Attribute namespace cleanup, read through carefully if upgrading. ?????? * Update config.js to newer format

1.1.5

  • Added Strainer test suite
  • Allow installing kibana without a webserver
  • Boolean Attribute kibana['git']['checkout'] to allow default git behavior to be checkout rather than sync.

1.1.4

  • Update configuration to use proxy_pass setup by cookbook

1.1.3

  • Rename dist to src symlink as per latest kibana folder structure change

1.1.2

  • Update config.js.erb to be the same as the new config.js source from kibana

1.1.1

  • Fixed previous symlink of whole repository, now it only symlinks the dist directory

1.1.0

  • Changed paths in default recipe for kibana source to the new kibana directory structure

1.0.0:

  • Initial release of kibana

Collaborator Number Metric
            

3.0.2 passed this metric

Contributing File Metric
            

3.0.2 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
            

3.0.2 failed this metric

FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: kibana_lwrp/libraries/install.rb:101
Run with Foodcritic Version 10.3.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

3.0.2 passed this metric

No Binaries Metric
            

3.0.2 passed this metric

Publish Metric
            

3.0.2 passed this metric

Supported Platforms Metric
            

3.0.2 passed this metric

Testing File Metric
            

3.0.2 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

Version Tag Metric
            

3.0.2 passed this metric