Page MenuHomeDevCentral

D3379.id.diff
No OneTemporary

D3379.id.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
Sun, Nov 24, 09:34 (14 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2258672
Default Alt Text
D3379.id.diff (1 KB)

Event Timeline