You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Affected Puppet, Ruby, OS and module versions/distributions
Puppet: 6.3.0 (from apt repo)
Ruby: 2.5.3 (bundled with puppet package)
Distribution: Ubuntu 18.04
Module version: 6.0.0
How to reproduce (e.g Puppet code you use)
Include the Grafana module, and set the data_dir in hieradata:
grafana::data_dir: /mnt/data_volume/grafana
What are you seeing
Grafana is not using this data dir, and instead is using the package defaults of /var/lib/grafana.
What behaviour did you expect instead
Grafana to use the specified directory for storing all its data.
There's nothing in the generated config that would cause it to do this. /etc/grafana/grafana.ini is empty (Except for a comment), and /etc/default/grafana has DATADIR still set to /var/lib/grafana.
Any additional information you'd like to impart
From a scan through the code, all I can see the data_dir being used for is to create a plugins directory within. It doesn't seem to affect anything else at all.
The text was updated successfully, but these errors were encountered:
I think that's what I'd worked out from reading the code, however the docs (https://github.com/voxpupuli/puppet-grafana#data_dir) don't make this clear at all, and suggest that this param controls where Grafana puts all its data.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Include the Grafana module, and set the data_dir in hieradata:
What are you seeing
Grafana is not using this data dir, and instead is using the package defaults of
/var/lib/grafana
.What behaviour did you expect instead
Grafana to use the specified directory for storing all its data.
There's nothing in the generated config that would cause it to do this.
/etc/grafana/grafana.ini
is empty (Except for a comment), and/etc/default/grafana
hasDATADIR
still set to/var/lib/grafana
.Any additional information you'd like to impart
From a scan through the code, all I can see the
data_dir
being used for is to create a plugins directory within. It doesn't seem to affect anything else at all.The text was updated successfully, but these errors were encountered: