From 9ce6515fa15bbe92f7d329128c93b3d2f609dea9 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Fri, 10 Feb 2023 20:14:20 +0200 Subject: [PATCH] allow default section --- templates/grafana.ini.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/grafana.ini.erb b/templates/grafana.ini.erb index d1d1cae..78c2605 100644 --- a/templates/grafana.ini.erb +++ b/templates/grafana.ini.erb @@ -1,6 +1,8 @@ <% @configuration.each_pair do |section, options| -%> +<% if section != 'DEFAULT' %> [<%= section %>] +<% end -%> <% options.each_pair do |option, value| -%> <%= option %> = <%= value %> <% end -%>