Commit Graph

15 Commits

Author SHA1 Message Date
Ian Wienand c49ece9204 Cleanup grafana.openstack.org
The opendev.org server is in production, cleanup the old puppet-based
host.

Change-Id: I6db3ce929226a23b96234b52ece8b17f4c6a326a
2020-10-29 07:59:42 +11:00
Clark Boylan fa8276a3e2 Install latest grafana
With puppet3 we were install 5.4.2 even though we wanted 5.1.3. Puppet4
is now installing the version we specify (5.1.3); however, if newer
versions just work works (which experience says they do) maybe we should
just install latest.

Change-Id: I63e6bf9cdc1c95e8abdf79492dcc1258ab90bc88
2019-03-21 13:43:02 -07:00
Clark Boylan 31eeb76f04 Remove code to handle grafana 2.x installations
On our old trusty hosts we were installing grafana 2.x and new xenial we
install 5.x. Remove the code to install the old version on trusty.

Change-Id: I8d4e15d890f78dff9da9c47bb1b61987002c6cd9
2019-03-21 13:35:20 -07:00
Ian Wienand ad64719c20 grafana: fix hostname typo
This typo meant the old version is being installed on grafana02

Change-Id: I6df4114357b81a9c462872b3453c2a36a7b8d48f
2018-06-07 12:33:29 +10:00
Ian Wienand 44e4f194c0 Install later grafana on graphite02
This is a new server bringing up the new graphite version

Change-Id: I38cad90bb68c490b345e6ec2c25c4864076d373d
2018-06-06 14:53:13 +10:00
Paul Belanger 0592f4cf1e
Add Gemfile
Now that we have switched to gem-based puppet, we also need to include
our Gemfile for our spec helper. This should pull in the required
dependencies.

Properly quote configuration options for grafana.pp to pass lint
checks now.

Change-Id: Id85b14167416bc616a6f99cea43aacb53c2605b5
Depends-On: I082ea72743634b8ce0106786ab4ec35add874c8d
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-05-01 15:45:33 -04:00
James E. Blair a7d87c9730 Upgrade grafana to 2.6.0
It supports many more units.  Probably many other changes.

Change-Id: Iba095d5ccdbdce185d705724871136bbc2a694f9
2016-01-07 13:40:12 -08:00
Evgeny Antyshev 4e1b8cd90a Use httpd::mod instead of httpd_mod
httpd::mod is a high-level wrapper around httpd_mod,
and, since it is used, e.g. in puppet-jenkins and puppet-zuul,
it should be uniform across all puppet projects,
to be able to properly detect
whether Httpd_mod instance defined, like below:

if (! defined(Httpd::Mod['rewrite'])) {
    httpd::mod { 'rewrite': ensure => present }
}

Change-Id: I2b453b6f15d80bba9b1c29bc0d35651cfae05427
Depends-On: I69e7f9c54d06d7f98b50fdc7d5a67dd10e3e0050
2015-12-08 15:00:14 +00:00
Paul Belanger ef5b4f5487 Add grafyaml support
This works almost the same way as JJB. Dashboards are stored in yaml,
puppet detects a file change, and grafana-dashboard publishes the
changes into grafana.

Change-Id: I91d539bdf7273a26dbd6ac46268bf5f98b1ea44f
Depends-On: I2755fe4fee720c7805eed2cb5bdf11de667bbd4f
Depends-On: I07577d72b2d5d6a552a9f50f551263fe3ac47dfb
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-10-13 11:31:37 -04:00
Spencer Krum 9adffb18a3 A warning comment
There is a mismatch between 'archive' modules between the modules
provided by modules.env and the dependencies of puppet-grafana.

Change-Id: I783e19243e79147d8d2e76dcd39a747993f0f1fb
2015-08-25 10:53:42 -07:00
Paul Belanger 2c620a01a0 Upgrade grafana.o.o to 2.1.0
This release adds support for 'Basic Auth' which we'll be using with grafyaml.

Change-Id: I2d57a9cfd66a15d97cd9717e3d81ba52845e3cbc
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-08-13 10:17:37 -04:00
Jenkins 20e710e3b4 Merge "Migrate grafana.o.o to puppet-httpd" 2015-08-05 21:12:23 +00:00
Paul Belanger 59cc580b69 Remove local grafana database
We'll be using trove for our database, as such we don't need to spin
up a local database.

Change-Id: I0768915cbed4d018f4d0ce3a86072bcf05e32cb9
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-07-31 13:34:28 -04:00
Paul Belanger b90d546524 Migrate grafana.o.o to puppet-httpd
Change-Id: I0bcc68e049396560e9f51a2cb4ba941f8a8d2862
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-07-30 14:11:24 -04:00
Paul Belanger 8a342866f9 Create grafana.o.o under -infra
Change-Id: Ib83a4d95df155f21c9affd25924261dc4b414133
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-07-06 11:36:14 -04:00