From c0277fa8b90264dd8a908b959e27f1aa4e68ed3c Mon Sep 17 00:00:00 2001 From: cronekorkn Date: Mon, 25 Sep 2023 17:04:47 +0200 Subject: [PATCH] bundles/grafana/items.py: fix permissions --- bundles/grafana/items.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bundles/grafana/items.py b/bundles/grafana/items.py index e0c8549..a2645c6 100644 --- a/bundles/grafana/items.py +++ b/bundles/grafana/items.py @@ -160,6 +160,8 @@ for dashboard_id, monitored_node in enumerate(monitored_nodes, start=1): files[f'/var/lib/grafana/dashboards/{monitored_node.name}.json'] = { 'content': json.dumps(dashboard, indent=4), + 'owner': 'grafana', + 'group': 'grafana', 'triggers': [ 'svc_systemd:grafana-server:restart', ]