Commit Graph

9 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
Clark Boylan c6e070db6c Set server admin var so that vhost works
Using the puppet 4 future parser it is far more particular about
variables and their scoping. We don't set a serveradmin in this class
but then attempt to use it in the vhost template. This was fine under
puppet 3 as it would just look for this out of the current scope but
breaks under puppet 4.

Make this trivially happy on puppet 4 by setting a default that is sane.

Change-Id: Id415056cdfa693fd199e0b4a0c6b09e20faf23ef
2018-12-14 12:47:52 -08:00
Clark Boylan 0a62118c0e Support Apache 2.4 ACLs
We need to use Require all granted in our directory that hosts the
Kibana files otherwise we get 403 forbidden when trying to access the
content.

Change-Id: I2e14ba113705f3fabaa4920704589da0f9abe978
2016-05-26 15:15:42 -07:00
Clark Boylan 7904825abb Configure apache when we use it
The kibana apache vhost file makes use of mod rewrite and mod proxy but
we don't enable those modules explicitly here. We happen to enable them
in other places that use this puppet module but that leads to races and
isn't explicit enough. Go ahead and explicitly enable the deps in this
puppet module so that it is self sufficient.

Change-Id: Ic05f26d61f2ac4b5adffee98782d1a02931d5731
2016-05-26 11:06:06 -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
Clark Boylan 47f7ddf78f Vendor dashLoader.js with Share patch
In order to make Share work without relying on elasticsearch write perms
we patch dashLoader.js to construct the urls based on the logstash
dashboard since it is deterministic anyways. This is a massive hack but
maybe it will be less terrible once ES is upgraded and we can use
kibana4.

Change-Id: I64cc693e5e188c68e134b4769ccc519f6191f36c
2015-10-16 12:44:59 -07:00
Clark Boylan 86fb79e091 Use custom logstash dashboard
We update the default logstash dashboard to remove excessively short
refresh period options, default the query result listing output to
be timestamp and message, default to a 15 minute query instead
of a 24 hour query, and default to a blank query instead of '*" because
the '*' forces you to delete it to add any new queries but they are
functionally equivalent.

Change-Id: Id68a1f1e496f5d729b21aa2be30a5e2b73ab65fd
2015-10-16 09:13:35 -07:00
K Jonathan Harker c051797294 Use httpd::vhost instead of apache::vhost
Change-Id: I429e1977ed70d315adb5003b03c4b8682d43335c
2015-10-14 19:14:31 -07: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