Commit Graph

13 Commits

Author SHA1 Message Date
Clark Boylan 3caf0cf70d Retire this project
We've shutdown the kibana service and don't need to manage it with
puppet any more.

Depends-On: https://review.opendev.org/c/openstack/project-config/+/839235
Change-Id: Iad395dfc91b9c7523b735b31da4dec2721acc42c
2022-04-25 09:43:47 -07:00
K Jonathan Harker 3906807caf Remove support for Kibana2
The ruby version of Kibana reached its end-of-life in May 2015, remove
support for it from this puppet module.

Change-Id: I164ab9228e8ac8ada95d1ce2c0ee809cc01c9aa3
2016-04-13 12:09:46 -07:00
Andrey Nikitin 0c7f9c5e48 Order of the classes parameters is refactored
Order and intendation of those parameters are changed
to follow Puppet Style Guide recommendation [0].
Moreover, it will allow to an user to find much faster
a variable in a list of variables.

[0]. https://docs.puppetlabs.com/guides/style_guide.html

Change-Id: I7bd6abf2bc6b10da52fb4dad0c238b7b59cec54b
2016-03-21 13:03:26 +03:00
Spencer Krum 183dc2e05b Remove conflicting ownership resources
/opt/kibana was being chowned to 'kibana' on every run, but
/opt/kibana/<git_version> was a vcsrepo that was being checked out as
www-data. This caused a changed file resource for every file in the git
repo for every puppet run, causing a bunch of noise in the logs and
eventually running the puppetmaster out of disk space.

Also changed directory mode to 755 because 644 doesn't make a ton of
sense.

Change-Id: I3cc511c4a5ae561ec30478d96d9745611d4b5b65
2015-12-30 15:14:55 -08:00
K Jonathan Harker 8c66da99df Add kibana3 support
Add support for the javascript version of kibana.

By default, this is done by serving both the kibana and also an
elasticsearch proxy from the same location. Allowed GETs and POSTs
for read-only access to elasticsearch are passed to a proxy and all
other requests are served from the kibana source directory.

An optional prefix, such as 'elasticsearch/', can be specified in which
case the reverse proxy to elasticsearch will be served from this
sub-path.

Change-Id: I13f9dff0bbd6498a36dc75b026c9042a9bb05e8f
2015-10-14 12:18:31 -07:00
K Jonathan Harker 3e95d92cfc Refactor kibana-ruby specific bits to kibana::ruby
Move all of the resources specific to the ruby version of kibana to
kibana::ruby.

Change-Id: I93a4b0f103b4259f356e93fe025e0a649c79b75b
2015-08-24 15:09:28 -07:00
Colleen Murphy 257a7d00be Add Gemfile and puppet 4 checks
In anticipation of puppet 4, start trying to deal with puppet 4 things
that can be helpfully predicted by puppet lint plugins. Also fix
arrow alignment errors not caught before.

Change-Id: Ie4df1a6316f10989af653d74aef5306bb79a8870
2015-08-03 18:44:50 -07:00
K Jonathan Harker fd84794d71 Add some missing dependencies
Change-Id: I3c85199a2ffce6e91531e1761601483181e67743
2015-06-03 13:18:28 -07:00
Yolanda Robla b78dfa4507 Update kibana project url
Version 0.2.0 doesn't exist on that repository.
It looks like the old kibana repo was renamed to kibana2 and then the
new kibana3 repo was renamed kibana.

Change-Id: I2c703fab5e802584eaea5e6dc51d5ea3cf8d84ff
2015-03-12 13:41:22 -07:00
Clark Boylan c7932eaf20 Better elasticsearch cluster settings.
Use mutliple discover nodes to determine elasticsearch cluster
membership. Put a timeout on recovery starting instead of the default
to recovery immediately. Describe cluster topology in elasticsearch yaml
config so that it can make smarter decisions. Round robin kibana
requests across each discover node.

Change-Id: I08ef9dd158ddf6a6ce01dfb2050626f543d45b10
Reviewed-on: https://review.openstack.org/34106
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-07-01 17:49:09 +00:00
Clark Boylan ae73e18646 Add support for elasticsearch cluster.
We need to expand our elasticsearch install base. Update puppet to make
this possible.

Change-Id: Id0dae839b12ebf47715cf40a363832e0f661a94f
Reviewed-on: https://review.openstack.org/33910
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2013-07-01 17:48:16 +00:00
Clark Boylan ce79dcb720 Fix elasticsearch connectivity on logstash.o.o.
The new elasticsearch server needs to be able to connect back to
logstash over the elasticsearch ports. Also make kibana talk to the new
elasticsearch server.

Change-Id: I88af40c7885b263fcef5ff16210f073cd0a696a5
Reviewed-on: https://review.openstack.org/30354
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2013-05-23 23:46:30 +00:00
K Jonathan Harker 06c170ea0c Use kibana as the web frontend to logstash.
Add a kibana module that installs kibana and flat configuration files,
and also disables the previous boring bland web frontend.

Change-Id: I772c66f07d2bc3a88128e101074be9d4162e3f8a
Reviewed-on: https://review.openstack.org/27089
Reviewed-by: Jesse Keating <jesse.keating@rackspace.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2013-04-25 20:45:19 +00:00