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
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
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>
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
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>
There is a mismatch between 'archive' modules between the modules
provided by modules.env and the dependencies of puppet-grafana.
Change-Id: I783e19243e79147d8d2e76dcd39a747993f0f1fb
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>
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>