Page MenuHomeDevCentral

D3379.diff
No OneTemporary

D3379.diff

diff --git a/roles/grafana/grafana/files/grafana.ini b/roles/grafana/grafana/files/grafana.ini
--- a/roles/grafana/grafana/files/grafana.ini
+++ b/roles/grafana/grafana/files/grafana.ini
@@ -16,7 +16,7 @@
[paths]
data = /var/db/grafana
logs = /var/log/grafana
-plugins = /var/db/grafana/plugins
+plugins = /var/lib/grafana/plugins
provisioning = /usr/local/etc/grafana/provisioning
[server]
diff --git a/roles/grafana/grafana/init.sls b/roles/grafana/grafana/init.sls
--- a/roles/grafana/grafana/init.sls
+++ b/roles/grafana/grafana/init.sls
@@ -49,11 +49,11 @@
# Plugins access by nginx
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-/var/db/grafana:
+/var/lib/grafana:
file.directory:
- mode: 0751
-/var/db/grafana/plugins:
+/var/lib/grafana/plugins:
file.directory:
- user: grafana
- group: web
diff --git a/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/grafana.conf b/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/grafana.conf
--- a/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/grafana.conf
+++ b/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/grafana.conf
@@ -51,7 +51,7 @@
}
location /public/plugins {
- alias /var/db/grafana/plugins;
+ alias /var/lib/grafana/plugins;
}
location / {

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 19:02 (16 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2264994
Default Alt Text
D3379.diff (1 KB)

Event Timeline