Open lswith opened 8 years ago
I've tried to just change the package version from 2.5.0 to 3.0.1 in params.pp and rolled it out successfully. Try this so you know if your config works but it should. Edit: Sorry, ist just a bit easier, at least for Debian: Just use the exposed $version parameter and set it to "3.0.3-1463994644" to install the very recent .deb (as of now).
No problems on CentOS 6 for grafana-3.0.4-1464167696.x86_64.rpm including datasource. The puppet run shows OK. I am using PE2016.1.1. I must use PR90.
Notice: /Stage[main]/Grafana_config::Config/Grafana_datasource[elasticsearch]/ensure: created
for the code
grafana_datasource { 'elasticsearch':
grafana_url => "${grafana_url}",
grafana_user => "$grafana_user",
grafana_password => "$grafana_password",
type => 'elasticsearch',
url => 'http://localhost:9200',
access_mode => 'proxy',
is_default => true,
database => 'logstash-*',
json_data => {
"timeField" => "@timestamp",
"esVersion" => 1
}
}
On rhel7, i used this in my hierafile: grafana::install_method: 'repo' grafana::repo_name: 'stable'
It installed the latest 3.0.4 version. Works like a charm
On centos7 it works for us, too:
install_method => 'package',
version => '3.1.1',
rpm_iteration => '1470047149',
I'd like to use this module to install and run Grafana 3.0.